mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Add SqlServer
This commit is contained in:
parent
b037fac73f
commit
32b1f5ec47
@ -22,7 +22,21 @@ namespace OrmTest
|
|||||||
Db.CodeFirst.InitTables<UNITCODEFIRST131>();
|
Db.CodeFirst.InitTables<UNITCODEFIRST131>();
|
||||||
Db.CodeFirst.InitTables<UNITCOdEFIRST131>();
|
Db.CodeFirst.InitTables<UNITCOdEFIRST131>();
|
||||||
Db.CodeFirst.InitTables<UnitIndextest>();
|
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)]
|
[SqlSugar.SugarIndex("UnitIndextestIndex", nameof(UnitIndextest.Table),SqlSugar.OrderByType.Asc)]
|
||||||
public class UnitIndextest
|
public class UnitIndextest
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user