mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Update unit test
This commit is contained in:
@@ -105,6 +105,17 @@ namespace OrmTest
|
||||
x2 = o2,
|
||||
x3 = o3
|
||||
}).ToList();
|
||||
Db.CodeFirst.InitTables<UnitEnumadfa>();
|
||||
Db.Insertable(new UnitEnumadfa()).ExecuteCommand();
|
||||
Db.Insertable(new UnitEnumadfa() { Type = DbType.Sqlite }).ExecuteCommand();
|
||||
var listEnum = Db.Queryable<UnitEnumadfa>().ToList();
|
||||
}
|
||||
|
||||
|
||||
public class UnitEnumadfa
|
||||
{
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public DbType? Type { get; set; }
|
||||
}
|
||||
|
||||
public static class IEnumerbleContains
|
||||
|
||||
Reference in New Issue
Block a user