mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Add SqlServer
This commit is contained in:
@@ -22,7 +22,21 @@ namespace OrmTest
|
||||
Db.CodeFirst.InitTables<UNITCODEFIRST131>();
|
||||
Db.CodeFirst.InitTables<UNITCOdEFIRST131>();
|
||||
Db.CodeFirst.InitTables<UnitIndextest>();
|
||||
Db.CodeFirst.InitTables<UnitXXXYYYZZZ>();
|
||||
Db.CodeFirst.InitTables<unitxxxyyyzzz>();
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
|
Reference in New Issue
Block a user