From 8bc38ea0dfaca3a5b41be43a6e2686f8d7a42cd3 Mon Sep 17 00:00:00 2001 From: Mohammad Rahhal Date: Fri, 2 Feb 2024 14:20:26 +0100 Subject: [PATCH] :sparkles: --- .../KeysetFilterPredicateStrategy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MR.EntityFrameworkCore.KeysetPagination/KeysetFilterPredicateStrategy.cs b/src/MR.EntityFrameworkCore.KeysetPagination/KeysetFilterPredicateStrategy.cs index 28910e2..198932b 100644 --- a/src/MR.EntityFrameworkCore.KeysetPagination/KeysetFilterPredicateStrategy.cs +++ b/src/MR.EntityFrameworkCore.KeysetPagination/KeysetFilterPredicateStrategy.cs @@ -77,7 +77,7 @@ protected static BinaryExpression MakeComparisonExpression( // LessThan/GreaterThan operators are not valid for some types such as strings and guids. // We use the CompareTo method on these types instead. - // entity.Property.CompareTo(referenceValue) >|< 0 + // entity.Property.CompareTo(referenceValue) > or < 0 // ----------------------------------------- // entity.Property.CompareTo(referenceValue) @@ -86,7 +86,7 @@ protected static BinaryExpression MakeComparisonExpression( compareToMethod, EnsureMatchingType(memberAccess, referenceValue)); - // >|< 0 + // > or < 0 return compare(methodCallExpression, ConstantExpression0); } else