Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit 647b813

Browse files
committed
fix typo
1 parent d00e3ea commit 647b813

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/LinqToDB.EntityFrameworkCore/LinqToDBForEFToolsImplDefault.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -929,8 +929,8 @@ TransformInfo LocalTransform(Expression e)
929929

930930
if (typeof(IQueryable<>).IsSameOrParentOf(methodCall.Type) && methodCall.Type.Assembly != typeof(LinqExtensions).Assembly)
931931
{
932-
if (((dc != null && dc.MappingSchema.HasAttribute<ExpressionMethodAttribute>(methodCall.Type, methodCall.Method))
933-
|| (dc == null && methodCall.Method.HasAttribute<ExpressionMethodAttribute>()))
932+
if (((dc != null && !dc.MappingSchema.HasAttribute<ExpressionMethodAttribute>(methodCall.Type, methodCall.Method))
933+
|| (dc == null && !methodCall.Method.HasAttribute<ExpressionMethodAttribute>()))
934934
&& null == methodCall.Find(nonEvaluatableParameters,
935935
(c, t) => t.NodeType == ExpressionType.Parameter && c.Contains(t) || t.NodeType == ExpressionType.Extension))
936936
{

0 commit comments

Comments
 (0)