feat: 完成dbfactory搭建

This commit is contained in:
chenchun
2024-11-19 12:05:26 +08:00
parent 5d2d269f11
commit 353a6b9d0c
4 changed files with 10 additions and 7 deletions

View File

@@ -9,6 +9,8 @@ public abstract class SqlSugarDbContext : ISqlSugarDbContextDependencies
//属性注入
public IAbpLazyServiceProvider LazyServiceProvider { get; set; }
protected ISqlSugarClient SqlSugarClient { get;private set; }
public int ExecutionOrder => 0;
public void OnSqlSugarClientConfig(ISqlSugarClient sqlSugarClient)
{
SqlSugarClient = sqlSugarClient;