Update demo

This commit is contained in:
sunkaixuan
2023-11-18 23:50:08 +08:00
parent bc269029dc
commit 4e144454db
2 changed files with 31 additions and 12 deletions

View File

@@ -44,14 +44,24 @@ namespace TDengineTest
public DateTime Ts { get; set; }
public bool Boolean { get; set; }
}
public class CodeFirstTags1:STable
[STableAttribute( STablelName = "CodeFirstStable", Tags="[{ Name:\"Tag1\",Value:\"1\"}]")]
public class CodeFirstTags44
{
[SqlSugar.SugarColumn(IsPrimaryKey = true)]
public DateTime Ts { get; set; }
public bool Boolean { get; set; }
[SqlSugar.SugarColumn(IsIgnore =true)]
public string Tag1 { get; set; }
}
[STableAttribute(STablelName = "CodeFirstStable", Tags = "[{ Name:\"Tag1\",Value:\"2\"}]")]
public class CodeFirstTags33
{
[SqlSugar.SugarColumn(IsPrimaryKey = true)]
public DateTime Ts { get; set; }
public bool Boolean { get; set; }
[SqlSugar.SugarColumn(IsIgnore = true)]
public string Tag1 { get; set; }
}
public class CodeFirst04
{
[SqlSugar.SugarColumn(IsPrimaryKey = true)]