sqlsugar动态查询

This commit is contained in:
wintel
2023-08-27 00:23:45 +08:00
parent 38fee56701
commit 331bc9d042
4 changed files with 53 additions and 30 deletions

View File

@@ -0,0 +1,16 @@
using System.Collections.Generic;
using SqlSugar;
namespace OpenAuth.Repository;
/// <summary>
/// SqlSugar仓储
/// <para>具体用法参考https://www.donet5.com/Home/Doc?typeId=1228</para>
/// </summary>
public class SqlSugarRepository<T>: SimpleClient<T> where T : class, new()
{
public SqlSugarRepository(ISqlSugarClient client)
{
base.Context=client;
}
}