diff --git a/Src/Asp.NetCore2/SqlSeverTest/UnitTest/UCodeFirst.cs b/Src/Asp.NetCore2/SqlSeverTest/UnitTest/UCodeFirst.cs index 14de6b10c..ffc1eedd8 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/UnitTest/UCodeFirst.cs +++ b/Src/Asp.NetCore2/SqlSeverTest/UnitTest/UCodeFirst.cs @@ -22,7 +22,21 @@ namespace OrmTest Db.CodeFirst.InitTables(); Db.CodeFirst.InitTables(); Db.CodeFirst.InitTables(); + Db.CodeFirst.InitTables(); + Db.CodeFirst.InitTables(); } + + public class UnitXXXYYYZZZ + { + public string Id { get; set; } + [SqlSugar.SugarColumn(DefaultValue ="")] + public string Id2 { get; set; } + } + public class unitxxxyyyzzz + { + public string Id { get; set; } + } + [SqlSugar.SugarIndex("UnitIndextestIndex", nameof(UnitIndextest.Table),SqlSugar.OrderByType.Asc)] public class UnitIndextest {