mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Add user case test
This commit is contained in:
parent
3c6ec54abd
commit
20b9c7f336
@ -66,10 +66,17 @@ namespace OrmTest
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
Db.CodeFirst.InitTables<UnutBoolTestaaa>();
|
||||
var list4 =
|
||||
Db.Queryable<UnutBoolTestaaa>()
|
||||
.Where(Db.Utilities.JsonToConditionalModels(json)).ToList();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class UnutBoolTestaaa
|
||||
{
|
||||
public bool nullableBool { get; set; }
|
||||
}
|
||||
public class UnitJsonTest
|
||||
{
|
||||
[SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
|
Loading…
Reference in New Issue
Block a user