菜单类型接口

This commit is contained in:
陈淳
2022-09-09 19:34:20 +08:00
parent d4c55620f1
commit 0fb57a0a2c
7 changed files with 66 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ namespace Yi.Framework.Repository
{
public interface IRepository<T> : ISimpleClient<T> where T : class, IBaseModelEntity, new()
{
public ISugarQueryable<T> _DbQueryable { get; set; }
public ISqlSugarClient _Db { get; set; }
public Task<bool> UseTranAsync(Func<Task> func);
public Task<T> InsertReturnEntityAsync(T entity);