mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Add user test case
This commit is contained in:
parent
9a384c4100
commit
b4450fd2d5
@ -12,6 +12,11 @@ namespace OrmTest
|
||||
public static void Init()
|
||||
{
|
||||
var db = NewUnitTest.Db;
|
||||
db.CodeFirst.InitTables<UnitOrderfafaadfa>();
|
||||
db.CodeFirst.InitTables<UnitOrderItemafdaa>();
|
||||
db.Queryable<UnitOrderItemafdaa>()
|
||||
.Where(it => it.Order.CreateTime.Value.Date>DateTime.Now&& it.Order.CreateTime.Value.Date > DateTime.Now)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public class UnitOrderfafaadfa
|
||||
|
Loading…
Reference in New Issue
Block a user