Browse Source

Update demo

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
a1b5a40569
  1. 2
      Src/Asp.Net/OracleTest/UnitTest/UCodeFirst.cs

2
Src/Asp.Net/OracleTest/UnitTest/UCodeFirst.cs

@ -18,7 +18,7 @@ namespace OrmTest
{ {
[SqlSugar.SugarColumn(IndexGroupNameList = new string[] { "group1" })] [SqlSugar.SugarColumn(IndexGroupNameList = new string[] { "group1" })]
public int Id { get; set; } public int Id { get; set; }
[SqlSugar.SugarColumn(DefaultValue="getdate()", IndexGroupNameList =new string[] {"group1" } )] [SqlSugar.SugarColumn(DefaultValue="sysdate", IndexGroupNameList =new string[] {"group1" } )]
public DateTime? CreateDate { get; set; } public DateTime? CreateDate { get; set; }
} }
} }

Loading…
Cancel
Save