Skip to content

Commit

Permalink
Merge branch 'ma/cleanup-formats' of https://github.com/sebastienros/…
Browse files Browse the repository at this point in the history
…yessql into ma/cleanup-formats
  • Loading branch information
MikeAlhayek committed May 3, 2024
2 parents 5305e65 + e1cf703 commit ae84805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/YesSql.Core/Services/DefaultQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ public void ConvertFragment(IStringBuilder builder, Expression expression)
var methodInfo = methodCallExpression.Method;
Action<DefaultQuery, IStringBuilder, ISqlDialect, MethodCallExpression> action;
if (MethodMappings.TryGetValue(methodInfo, out action)
|| MethodMappings.TryGetValue(methodInfo.GetGenericMethodDefinition(), out action))
|| (methodInfo.IsGenericMethod && MethodMappings.TryGetValue(methodInfo.GetGenericMethodDefinition(), out action)))
{
action(this, builder, _dialect, methodCallExpression);
}
Expand Down

0 comments on commit ae84805

Please sign in to comment.