mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update demo
This commit is contained in:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user