Skip to content

Commit 051248a

Browse files
committed
Add new Queryable extension methods of NET10
1 parent 657e174 commit 051248a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Orm/Xtensive.Orm/Linq/QueryableMethodKind.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ public enum QueryableMethodKind
4040
GroupJoin,
4141
Intersect,
4242
Join,
43+
#if NET10_0_OR_GREATER
44+
LeftJoin,
45+
RightJoin,
46+
#endif
4347
Last,
4448
LastOrDefault,
4549
LongCount,

Orm/Xtensive.Orm/Orm/Linq/Translator.Queryable.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ protected override Expression VisitQueryableMethod(MethodCallExpression mc, Quer
179179
false,
180180
mc);
181181
}
182+
#if NET10_0_OR_GREATER
183+
case QueryableMethodKind.LeftJoin:
184+
return VisitLeftJoin(mc);
185+
#endif
182186
case QueryableMethodKind.OrderBy:
183187
case QueryableMethodKind.OrderByDescending:
184188
using (CreateScope(new TranslatorState(State) { BuildingProjection = false })) {

0 commit comments

Comments
 (0)