sqlsugarScope

master
lxw 6 months ago
parent 0c65da76da
commit 80c1fca70d

@ -133,7 +133,7 @@ public class CarController : ControllerBase
return true;
}
/// <summary>
/// 清空数据
/// </summary>

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

Loading…
Cancel
Save