We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e69d48 + f980476 commit a6f006dCopy full SHA for a6f006d
Providers/FreeSql.Provider.TDengine/TDengineCodeFirst.cs
@@ -61,6 +61,8 @@ public TDengineCodeFirst(IFreeSql orm, CommonUtils commonUtils, CommonExpression
61
{ typeof(float?).FullName, CsToDb.New(DbType.Single, "FLOAT", "FLOAT", null, true, null) },
62
{ typeof(double).FullName, CsToDb.New(DbType.Double, "DOUBLE", "DOUBLE", null, false, 0) },
63
{ typeof(double?).FullName, CsToDb.New(DbType.Double, "DOUBLE", "DOUBLE", null, true, null) },
64
+ { typeof(decimal).FullName, CsToDb.New(DbType.Single, "DECIMAL", "DECIMAL(36,18)", null, false, 0) },
65
+ { typeof(decimal?).FullName, CsToDb.New(DbType.Single, "DECIMAL", "DECIMAL(36,18)", null, true, null) },
66
{ typeof(string).FullName, CsToDb.New(DbType.String, "NCHAR", "NCHAR(255)", null, false, 0) },
67
};
68
@@ -323,4 +325,4 @@ private object HandleTagValue(object tagValue)
323
325
}
324
326
327
-}
328
+}
0 commit comments