ow
This commit is contained in:
commit
f05d2d215f
678 files changed
+73865
No files matched your search
@@ -0,0 +1,18 @@
|
||||
using CloudBuilder.Core.DatabaseAccessor;
|
||||
|
||||
namespace CloudBuilder.Core.Service
|
||||
{
|
||||
public interface IServiceBase<Tdata, Tkey, Tc> : IService
|
||||
{
|
||||
Tdata FindByKey(Tkey tc);
|
||||
|
||||
[UnitOfWork]
|
||||
Tdata Insert(Tdata tdata);
|
||||
|
||||
[UnitOfWork]
|
||||
Tdata Update(Tdata tdata);
|
||||
|
||||
[UnitOfWork]
|
||||
void Delete(Tkey tkey);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user