Update demo

This commit is contained in:
sunkaixuan 2024-08-20 15:04:54 +08:00
parent c7d6dfe1d8
commit 9ae3631c85

View File

@ -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 ####");
}