瀏覽代碼

FilterService.checkNullForString

Lith 6 月之前
父節點
當前提交
5ab21fa935
共有 3 個文件被更改,包括 7 次插入2 次删除
  1. 5 0
      doc/ReleaseNotes.md
  2. 1 1
      src/Versions.props
  3. 1 1
      src/Vit.Linq/FilterRules/FilterService.cs

+ 5 - 0
doc/ReleaseNotes.md

@@ -1,4 +1,9 @@
 # Vit.Linq ReleaseNotes
+
+-----------------------
+# 3.1.4
+- FilterService.checkNullForString = false;
+
 -----------------------
 # 3.1.0
 - [Vit.Linq] rename namespace ExpressionTree to ExpressionNodes , Filter to FilterRules

+ 1 - 1
src/Versions.props

@@ -1,6 +1,6 @@
 <Project>
     <PropertyGroup>
-        <Version>3.1.4-preview</Version>
+        <Version>3.1.4</Version>
     </PropertyGroup>
 
     <PropertyGroup>

+ 1 - 1
src/Vit.Linq/FilterRules/FilterService.cs

@@ -17,7 +17,7 @@ namespace Vit.Linq.FilterRules
 
 
         public bool operatorIsIgnoreCase = true;
-        public bool checkNullForString = false;
+        public virtual bool checkNullForString { get; set; } = false;
 
         public virtual Expression ConvertToCode(ParameterExpression parameter, IFilterRule rule)
         {