From b86c2734fda96ef41d283a577c164aafe8c4f3a7 Mon Sep 17 00:00:00 2001 From: sunkaixuna <610262374@qq.com> Date: Fri, 22 Oct 2021 21:10:43 +0800 Subject: [PATCH] code optimization --- Src/Asp.Net/SqlSugar/SqlSugarClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/SqlSugarClient.cs b/Src/Asp.Net/SqlSugar/SqlSugarClient.cs index 7c0a88eb7..ee77246a9 100644 --- a/Src/Asp.Net/SqlSugar/SqlSugarClient.cs +++ b/Src/Asp.Net/SqlSugar/SqlSugarClient.cs @@ -37,7 +37,7 @@ namespace SqlSugar public SqlSugarClient(List configs) { - Check.Exception(configs.IsNullOrEmpty(), "List configs is null"); + Check.Exception(configs.IsNullOrEmpty(), "List configs is null or count=0"); InitConfigs(configs); var config = configs.First(); InitContext(config);