mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add demo
This commit is contained in:
parent
b564780232
commit
381b8d1024
@ -65,6 +65,10 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
throw new Exception("unit error");
|
throw new Exception("unit error");
|
||||||
}
|
}
|
||||||
|
var names = new List<string> { "a", "b" };
|
||||||
|
var sql=db.Queryable<Order>().Where(it=>names.All(s=>s.Contains(it.Name))).ToSql();
|
||||||
|
if(!sql.Key.Contains("AND"))
|
||||||
|
throw new Exception("unit error");
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UnitDAFREA
|
public class UnitDAFREA
|
||||||
|
Loading…
Reference in New Issue
Block a user