mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-29 18:04:41 +08:00
Exp to Support Modulo
This commit is contained in:
@@ -418,6 +418,7 @@ namespace OrmTest.Demo
|
||||
var test28 = db.Queryable<Student>().Select(x => new Student{
|
||||
Name = x.Name == null ? "1" : "2"
|
||||
}).ToList();
|
||||
var test29 = db.Queryable<Student>().Where(it=>it.Id%1==0).ToList();
|
||||
//var test29 = db.Queryable<Student>().Select(x => new Student
|
||||
//{
|
||||
// Name = x.Name??"a"
|
||||
|
||||
Reference in New Issue
Block a user