mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-23 05:11:59 +08:00
Add unit test
This commit is contained in:
@@ -93,6 +93,12 @@ namespace OrmTest
|
||||
.SetColumns(x => new Order() { Name = x.Name + "a" })
|
||||
.Where(z => z.Id == 1)
|
||||
.ExecuteCommand();
|
||||
var ids = new string[] { "a", "c" };
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
db.Queryable<Order>().Where(z => ids[i] == z.Name).ToList();
|
||||
db.Queryable<Order>().Select(z => ids[i]).ToList();
|
||||
}
|
||||
}
|
||||
|
||||
public class BoolTest12313
|
||||
|
||||
Reference in New Issue
Block a user