Update 人大金仓数据库

This commit is contained in:
sunkaixuan 2022-10-12 19:54:38 +08:00
parent cd6141ec0a
commit 83041194db

View File

@ -36,7 +36,21 @@ namespace SqlSugar
base._DbConnection = value;
}
}
public override void CheckConnection()
{
try
{
base.CheckConnection();
}
catch (Exception ex)
{
if (ex.Message.Contains("Version string portion was too short or too long"))
{
Check.Exception(true, "人大金仓R6请安装 Nuget:SqlSugarCore.Kdbndp到最新版本");
}
throw;
}
}
public override void BeginTran(string transactionName)
{
base.BeginTran();