mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-13 20:00:55 +08:00
Merge pull request #2181 from 466974367/master
增加TDengine 对Decimal类型支持(修复DbType错误)
This commit is contained in:
@@ -61,8 +61,8 @@ namespace FreeSql.TDengine
|
||||
{ typeof(float?).FullName, CsToDb.New(DbType.Single, "FLOAT", "FLOAT", null, true, null) },
|
||||
{ typeof(double).FullName, CsToDb.New(DbType.Double, "DOUBLE", "DOUBLE", null, false, 0) },
|
||||
{ typeof(double?).FullName, CsToDb.New(DbType.Double, "DOUBLE", "DOUBLE", null, true, null) },
|
||||
{ typeof(decimal).FullName, CsToDb.New(DbType.Single, "DECIMAL", "DECIMAL(36,18)", null, false, 0) },
|
||||
{ typeof(decimal?).FullName, CsToDb.New(DbType.Single, "DECIMAL", "DECIMAL(36,18)", null, true, null) },
|
||||
{ typeof(decimal).FullName, CsToDb.New(DbType.Decimal, "DECIMAL", "DECIMAL(36,18)", null, false, 0) },
|
||||
{ typeof(decimal?).FullName, CsToDb.New(DbType.Decimal, "DECIMAL", "DECIMAL(36,18)", null, true, null) },
|
||||
{ typeof(string).FullName, CsToDb.New(DbType.String, "NCHAR", "NCHAR(255)", null, false, 0) },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user