diff --git a/N.EntityFrameworkCore.Extensions/Extensions/LinqExtensions.cs b/N.EntityFrameworkCore.Extensions/Extensions/LinqExtensions.cs
index 84739ac..f3adabd 100644
--- a/N.EntityFrameworkCore.Extensions/Extensions/LinqExtensions.cs
+++ b/N.EntityFrameworkCore.Extensions/Extensions/LinqExtensions.cs
@@ -209,8 +209,11 @@ internal static string ToSqlPredicate<T>(this Expression<T> expression, params s
                 stringBuilder.Replace((string)expressionParam.GetPrivateFieldValue("DebugView"), parameters[i]);
                 i++;
             }
+            stringBuilder.Replace("== null", "IS NULL");
+            stringBuilder.Replace("!= null", "IS NOT NULL");
             stringBuilder.Replace("&&", "AND");
             stringBuilder.Replace("==", "=");
+            stringBuilder.Replace("||", "OR");
             stringBuilder.Replace("(System.Nullable`1[System.Int32])", "");
             stringBuilder.Replace("(System.Int32)", "");
             return stringBuilder.ToString();