mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Add demo
This commit is contained in:
@@ -357,7 +357,7 @@ namespace OrmTest
|
|||||||
.Where(dir => dir.Name.Length > 0 ? dir.Name.Length > 0 : true).ToArray();
|
.Where(dir => dir.Name.Length > 0 ? dir.Name.Length > 0 : true).ToArray();
|
||||||
|
|
||||||
db.Queryable<Order>()
|
db.Queryable<Order>()
|
||||||
.Where(dir => dir.Name.Length > 0 ? dir.Name.Contains("a") : true).ToArray();
|
.Where(dir => SqlFunc.IF(dir.Name == "").Return(dir.Name =="").End(true)).ToArray();
|
||||||
}
|
}
|
||||||
public class UnitPeople
|
public class UnitPeople
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user