mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Add unit test
This commit is contained in:
parent
3816616845
commit
704c5c6072
@ -39,6 +39,12 @@ namespace OrmTest
|
|||||||
Db.Insertable(new UnitCodeFirst131() { Id = 1 }).ExecuteCommand();
|
Db.Insertable(new UnitCodeFirst131() { Id = 1 }).ExecuteCommand();
|
||||||
Db.CodeFirst.InitTables<UNITCODEFIRST131>();
|
Db.CodeFirst.InitTables<UNITCODEFIRST131>();
|
||||||
Db.CodeFirst.InitTables<UNITCOdEFIRST131>();
|
Db.CodeFirst.InitTables<UNITCOdEFIRST131>();
|
||||||
|
Db.CodeFirst.InitTables<UnitADFA13131>();
|
||||||
|
}
|
||||||
|
public class UnitADFA13131
|
||||||
|
{
|
||||||
|
[SugarColumn(ColumnDescription = "order")]
|
||||||
|
public string order { get; set; }
|
||||||
}
|
}
|
||||||
public class UnitCodeFirst131
|
public class UnitCodeFirst131
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user