mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-26 22:25:49 +08:00
Update unit test
This commit is contained in:
@@ -23,6 +23,18 @@ namespace OrmTest
|
||||
).ToList();
|
||||
Check.Exception(list.First().Job.Company != "1", "unit error");
|
||||
|
||||
db.CodeFirst.InitTables<Unit08adfa>();
|
||||
db.Insertable(new Unit08adfa
|
||||
{
|
||||
Id = null
|
||||
}).ExecuteCommand();
|
||||
var list4=db.Queryable<Unit08adfa>().ToList();
|
||||
}
|
||||
|
||||
public class Unit08adfa
|
||||
{
|
||||
[SugarColumn(IsNullable =true,ColumnDataType ="char(36)")]
|
||||
public Guid? Id { get; set; }
|
||||
}
|
||||
public class Unit06
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user