mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Update TDengine
This commit is contained in:
parent
fd078d781c
commit
991cd3ccd9
@ -81,6 +81,22 @@ namespace SqlSugar.TDengine
|
||||
{
|
||||
dbTypeName = "int";
|
||||
}
|
||||
else if (dbTypeName == "int unsigned")
|
||||
{
|
||||
dbTypeName = "int";
|
||||
}
|
||||
else if (dbTypeName == "bigint unsigned")
|
||||
{
|
||||
dbTypeName = "long";
|
||||
}
|
||||
else if (dbTypeName == "tinyint unsigned")
|
||||
{
|
||||
dbTypeName = "byte";
|
||||
}
|
||||
else if (TDengineDbBind.MappingTypesConst.FirstOrDefault(it=>it.Key?.ToLower()==dbTypeName.ToLower()) is { } data)
|
||||
{
|
||||
dbTypeName = data.Value.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -106,10 +122,12 @@ namespace SqlSugar.TDengine
|
||||
|
||||
new KeyValuePair<string, CSharpDataType>("BOOL",CSharpDataType.@bool),
|
||||
new KeyValuePair<string, CSharpDataType>("TINYINT",CSharpDataType.@byte),
|
||||
new KeyValuePair<string, CSharpDataType>("TINYINT",CSharpDataType.@int),
|
||||
new KeyValuePair<string, CSharpDataType>("SMALLINT",CSharpDataType.@short),
|
||||
new KeyValuePair<string, CSharpDataType>("INT",CSharpDataType.@int),
|
||||
new KeyValuePair<string, CSharpDataType>("BIGINT",CSharpDataType.@long),
|
||||
new KeyValuePair<string, CSharpDataType>("TINYINT UNSIGNED",CSharpDataType.@byte),
|
||||
new KeyValuePair<string, CSharpDataType>("TINYINT UNSIGNED",CSharpDataType.@int),
|
||||
new KeyValuePair<string, CSharpDataType>("SMALLINT UNSIGNED",CSharpDataType.@short),
|
||||
new KeyValuePair<string, CSharpDataType>("INT UNSIGNED",CSharpDataType.@int),
|
||||
new KeyValuePair<string, CSharpDataType>("BIGINT UNSIGNED",CSharpDataType.@long),
|
||||
|
Loading…
Reference in New Issue
Block a user