mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-21 02:58:05 +08:00
Update TDengine
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Data;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using SqlSugar.TDengineAdo;
|
||||
namespace SqlSugar.TDengine
|
||||
@@ -24,6 +25,7 @@ namespace SqlSugar.TDengine
|
||||
try
|
||||
{
|
||||
var TDengineConnectionString = base.Context.CurrentConnectionConfig.ConnectionString;
|
||||
TDengineConnectionString=Regex.Replace(TDengineConnectionString, @"\;db\=", ";Database=", RegexOptions.IgnoreCase);
|
||||
base._DbConnection = new TDengineConnection(TDengineConnectionString);
|
||||
}
|
||||
catch (Exception)
|
||||
|
Reference in New Issue
Block a user