Update demo

This commit is contained in:
sunkaixuan 2023-09-08 09:37:20 +08:00
parent ad3c82d5ad
commit c6ecc419db

View File

@ -11,6 +11,7 @@ namespace OrmTest
[SugarTable("MyTable02")]
public class MyTable02_NS
{
//也可以用InsertServerTime =true
[SugarColumn(IsPrimaryKey = true,SqlParameterDbType =typeof(DateTime19))]
public DateTime ts { get; set; }
public float current { get; set; }
@ -31,6 +32,7 @@ namespace OrmTest
[SugarTable("MyTable02")]
public class MyTable02_US
{
//也可以用InsertServerTime =true
[SugarColumn(IsPrimaryKey = true, SqlParameterDbType = typeof(DateTime16))]
public DateTime ts { get; set; }
public float current { get; set; }