Add unit test

This commit is contained in:
sunkaixuan 2022-05-11 13:54:30 +08:00
parent 3816616845
commit 704c5c6072

View File

@ -39,6 +39,12 @@ namespace OrmTest
Db.Insertable(new UnitCodeFirst131() { Id = 1 }).ExecuteCommand();
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
{