public WhereConditionFilterAttribute(
     EnumMatchMode wherePattern = EnumMatchMode.Equal)
 {
     AllowMatchPattern = wherePattern;
 }
 public WhereConditionFilterAttribute(
     EnumMatchMode wherePattern = EnumMatchMode.Equal, params string[] keys)
 {
     Keys = keys;
     AllowMatchPattern = wherePattern;
 }
Exemplo n.º 3
0
 public WhereCondition(string columnName, object columnValue, EnumMatchMode matchMode)
 {
     Key       = columnName ?? throw new ArgumentNullException(nameof(columnName));
     Value     = columnValue ?? throw new ArgumentNullException(nameof(columnValue));
     MatchMode = matchMode;
 }