Browse Source

code optimization

pull/9/head
sunkaixuna 3 years ago
parent
commit
b86c2734fd
  1. 2
      Src/Asp.Net/SqlSugar/SqlSugarClient.cs

2
Src/Asp.Net/SqlSugar/SqlSugarClient.cs

@ -37,7 +37,7 @@ namespace SqlSugar
public SqlSugarClient(List<ConnectionConfig> configs)
{
Check.Exception(configs.IsNullOrEmpty(), "List<ConnectionConfig> configs is null");
Check.Exception(configs.IsNullOrEmpty(), "List<ConnectionConfig> configs is null or count=0");
InitConfigs(configs);
var config = configs.First();
InitContext(config);

Loading…
Cancel
Save