From ce242779f07f691bb42b4073deb3f4b218965b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=80=90=E6=B5=AA=E4=BA=BA?= Date: Wed, 8 Nov 2023 08:24:36 +0000 Subject: [PATCH] =?UTF-8?q?update=20Src/Asp.NetCore2/SqlSugar.TDengineCore?= =?UTF-8?q?/TDengine/CodeFirst/TDengineCodeFirst.cs.=20=E4=BF=AE=E5=A4=8Df?= =?UTF-8?q?loat=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 逐浪人 --- .../TDengine/CodeFirst/TDengineCodeFirst.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Src/Asp.NetCore2/SqlSugar.TDengineCore/TDengine/CodeFirst/TDengineCodeFirst.cs b/Src/Asp.NetCore2/SqlSugar.TDengineCore/TDengine/CodeFirst/TDengineCodeFirst.cs index c93810a55..3c633f0dc 100644 --- a/Src/Asp.NetCore2/SqlSugar.TDengineCore/TDengine/CodeFirst/TDengineCodeFirst.cs +++ b/Src/Asp.NetCore2/SqlSugar.TDengineCore/TDengine/CodeFirst/TDengineCodeFirst.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Data; using System.Linq; @@ -157,6 +157,7 @@ namespace SqlSugar.TDengine case "double": return "DOUBLE"; case "float": + case "single": return "FLOAT"; case "int": return "INT";