diff --git a/Src/Asp.NetCore2/SqlSugar.TDengineCore/STableAttribute.cs b/Src/Asp.NetCore2/SqlSugar.TDengineCore/STableAttribute.cs index 7d9bc2985..66549063d 100644 --- a/Src/Asp.NetCore2/SqlSugar.TDengineCore/STableAttribute.cs +++ b/Src/Asp.NetCore2/SqlSugar.TDengineCore/STableAttribute.cs @@ -7,6 +7,6 @@ namespace SqlSugar.TDengine public class STableAttribute:Attribute { public string Tags { get; set; } - public string STablelName { get; set; } + public string STableName { get; set; } } } diff --git a/Src/Asp.NetCore2/SqlSugar.TDengineCore/SqlSugar.OdbcCore.nuspec b/Src/Asp.NetCore2/SqlSugar.TDengineCore/SqlSugar.OdbcCore.nuspec deleted file mode 100644 index e2bafc949..000000000 --- a/Src/Asp.NetCore2/SqlSugar.TDengineCore/SqlSugar.OdbcCore.nuspec +++ /dev/null @@ -1,24 +0,0 @@ - - - - SqlSugar.TDengineCore - 3.2 - sunkaixuan - Landa - http://www.apache.org/licenses/LICENSE-2.0.html - https://github.com/sunkaixuan/SqlSugar - https://secure.gravatar.com/avatar/a82c03402497b2e58fd65038a3699b30 - false - SqlSugar TDengine 核心库 ,DEMO用例: https://github.com/DotNetNext/SqlSugar - Copyright 2016 - TDengine Tdengine tdengine - - - - - - - - - - \ No newline at end of file diff --git a/Src/Asp.NetCore2/SqlSugar.TDengineCore/TDengine/DbMaintenance/TDengineDbMaintenance.cs b/Src/Asp.NetCore2/SqlSugar.TDengineCore/TDengine/DbMaintenance/TDengineDbMaintenance.cs index 633cf4036..65263daf3 100644 --- a/Src/Asp.NetCore2/SqlSugar.TDengineCore/TDengine/DbMaintenance/TDengineDbMaintenance.cs +++ b/Src/Asp.NetCore2/SqlSugar.TDengineCore/TDengine/DbMaintenance/TDengineDbMaintenance.cs @@ -418,7 +418,7 @@ namespace SqlSugar.TDengine if (isAttr) { var attr = this.Context.Utilities.DeserializeObject(tableName.Split("{stable}").Last()); - stableName= this.SqlBuilder.GetTranslationTableName(attr.STablelName.ToLower(isAutoToLowerCodeFirst)); + stableName= this.SqlBuilder.GetTranslationTableName(attr.STableName.ToLower(isAutoToLowerCodeFirst)); tableString = string.Format(this.CreateTableSql, stableName, string.Join(",\r\n", columnArray)); tableName=childTableName = this.SqlBuilder.GetTranslationTableName(tableName.Split("{stable}").First().ToLower(isAutoToLowerCodeFirst)); STable.Tags =this.Context.Utilities.DeserializeObject>( attr.Tags); diff --git a/Src/Asp.NetCore2/TDengineTest/Models/Unit/CodeFirstTest1.cs b/Src/Asp.NetCore2/TDengineTest/Models/Unit/CodeFirstTest1.cs index 68803e919..a3c50baa0 100644 --- a/Src/Asp.NetCore2/TDengineTest/Models/Unit/CodeFirstTest1.cs +++ b/Src/Asp.NetCore2/TDengineTest/Models/Unit/CodeFirstTest1.cs @@ -44,7 +44,7 @@ namespace TDengineTest public DateTime Ts { get; set; } public bool Boolean { get; set; } } - [STableAttribute( STablelName = "CodeFirstStable", Tags="[{ Name:\"Tag1\",Value:\"1\"}]")] + [STableAttribute( STableName = "CodeFirstStable", Tags="[{ Name:\"Tag1\",Value:\"1\"}]")] public class CodeFirstTags44 { [SqlSugar.SugarColumn(IsPrimaryKey = true)] @@ -53,7 +53,7 @@ namespace TDengineTest [SqlSugar.SugarColumn(IsIgnore =true)] public string Tag1 { get; set; } } - [STableAttribute(STablelName = "CodeFirstStable", Tags = "[{ Name:\"Tag1\",Value:\"2\"}]")] + [STableAttribute(STableName = "CodeFirstStable", Tags = "[{ Name:\"Tag1\",Value:\"2\"}]")] public class CodeFirstTags33 { [SqlSugar.SugarColumn(IsPrimaryKey = true)]