mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-29 18:04:41 +08:00
Update navigate query
This commit is contained in:
@@ -32,6 +32,13 @@ namespace OrmTest
|
||||
.Where(t => t.DeleteTime == null)
|
||||
.OrderBy(t => t.StationCode, OrderByType.Asc)
|
||||
.ToList();
|
||||
db.Aop.OnLogExecuting = (s, p) =>
|
||||
{
|
||||
Console.WriteLine(s);
|
||||
};
|
||||
var data2 = db.Queryable<StationEntity>()
|
||||
.Where(x=>x.StationConfigs.Any(z=>z.BaseStationConfig.KeyID==x.LineID))
|
||||
.ToList();
|
||||
var b1 = DateTime.Now.Subtract(b).TotalMilliseconds;
|
||||
|
||||
Console.WriteLine("#### SqlQueryable End ####");
|
||||
|
||||
Reference in New Issue
Block a user