更新仓储层上下文对象与接口命名规范

This commit is contained in:
chenchun
2022-04-12 18:09:13 +08:00
parent e7a27cc474
commit 796bba1abe
9 changed files with 57 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ namespace Yi.Framework.Repository
{
public interface IRepository<T> : ISimpleClient<T> where T : BaseModelEntity,new()
{
public ISqlSugarClient _Db { get; set; }
public Task<T> InsertReturnEntityAsync(T entity);
public Task<List<S>> StoreAsync<S>(string storeName, object para);
public Task<PageModel<List<T>>> CommonPageAsync(QueryPageCondition pars);