mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update demo
This commit is contained in:
parent
c7d6dfe1d8
commit
9ae3631c85
@ -51,7 +51,8 @@ namespace OrmTest
|
||||
}).ToList();
|
||||
var test02 = db.Queryable<Order>()
|
||||
.Select(it => new {
|
||||
time=SqlFunc.IsNull(it.CreateTime,DateTime.Now)
|
||||
time=SqlFunc.IsNull(it.CreateTime,DateTime.Now),
|
||||
id=SqlFunc.IsNull(it.Id,0)
|
||||
}).ToList();
|
||||
Console.WriteLine("#### Examples End ####");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user