mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Add user case test
This commit is contained in:
@@ -352,6 +352,12 @@ namespace OrmTest
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
|
||||
db.Queryable<Order>()
|
||||
.Where(dir => dir.Name.Length > 0 ? dir.Name.Length > 0 : true).ToArray();
|
||||
|
||||
db.Queryable<Order>()
|
||||
.Where(dir => dir.Name.Length > 0 ? dir.Name.Contains("a") : true).ToArray();
|
||||
}
|
||||
public class UnitPeople
|
||||
{
|
||||
|
Reference in New Issue
Block a user