mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add unit test
This commit is contained in:
parent
57931f7f02
commit
53d1c38463
@ -96,6 +96,8 @@ namespace OrmTest
|
||||
var ids = new string[] { "a", "c" };
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
db.Queryable<Order>().Where(z => z.Name==ids[i] ).ToList();
|
||||
db.Queryable<Order>().Where(z => z.Name ==SqlFunc.ToString( ids[i])).ToList();
|
||||
db.Queryable<Order>().Where(z => ids[i] == z.Name).ToList();
|
||||
db.Queryable<Order>().Select(z => ids[i]).ToList();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user