mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-01 19:03:58 +08:00
Any Bug
This commit is contained in:
@@ -60,6 +60,8 @@ namespace OrmTest.Demo
|
||||
var getByPrimaryKey = db.Queryable<Student>().InSingle(2);
|
||||
var getByWhere = db.Queryable<Student>().Where(it => it.Id == 1 || it.Name == "a").ToList();
|
||||
var getByFuns = db.Queryable<Student>().Where(it => NBORM.IsNullOrEmpty(it.Name)).ToList();
|
||||
var sum = db.Queryable<Student>().Sum(it=>it.Id);
|
||||
var isAny = db.Queryable<Student>().Where(it=>it.Id==-1).Any();
|
||||
}
|
||||
|
||||
public static void Page()
|
||||
|
||||
Reference in New Issue
Block a user