|
|
@ -15,7 +15,7 @@ builder.Host.ConfigureContainer<ContainerBuilder>(cb =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
cb.Register(c =>
|
|
|
|
cb.Register(c =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var db = new SqlSugarClient(new ConnectionConfig
|
|
|
|
var db = new SqlSugarScope(new ConnectionConfig
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ConfigId = AppSettingsConstVars.ConfigId,
|
|
|
|
ConfigId = AppSettingsConstVars.ConfigId,
|
|
|
|
ConnectionString = AppSettingsConstVars.DbSqlConnection, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>
|
|
|
|
ConnectionString = AppSettingsConstVars.DbSqlConnection, // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>
|
|
|
|