mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update TDengine
This commit is contained in:
@@ -10,14 +10,14 @@ namespace SqlSugar.TDengine
|
||||
{
|
||||
get
|
||||
{
|
||||
return "\"";
|
||||
return "`";
|
||||
}
|
||||
}
|
||||
public override string SqlTranslationRight
|
||||
{
|
||||
get
|
||||
{
|
||||
return "\"";
|
||||
return "`";
|
||||
}
|
||||
}
|
||||
public override string SqlDateNow
|
||||
@@ -80,7 +80,7 @@ namespace SqlSugar.TDengine
|
||||
var mappingInfo = context
|
||||
.MappingTables
|
||||
.FirstOrDefault(it => it.EntityName.Equals(name, StringComparison.CurrentCultureIgnoreCase));
|
||||
if (mappingInfo == null && name.Contains(".") && name.Contains("\""))
|
||||
if (mappingInfo == null && name.Contains(".") && name.Contains("`"))
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
@@ -13,14 +13,14 @@ namespace SqlSugar.TDengine
|
||||
{
|
||||
get
|
||||
{
|
||||
return "\"";
|
||||
return "`";
|
||||
}
|
||||
}
|
||||
public override string SqlTranslationRight
|
||||
{
|
||||
get
|
||||
{
|
||||
return "\"";
|
||||
return "`";
|
||||
}
|
||||
}
|
||||
public override string GetTranslationText(string name)
|
@@ -15,14 +15,14 @@ namespace SqlSugar.TDengine
|
||||
return @"INSERT INTO {0}
|
||||
({1})
|
||||
VALUES
|
||||
({2}) returning $PrimaryKey";
|
||||
({2}) ";
|
||||
}
|
||||
else
|
||||
{
|
||||
return @"INSERT INTO {0}
|
||||
({1})
|
||||
VALUES
|
||||
({2}) ;";
|
||||
({2})";
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user