Пример #1
0
 public OrderCondition(string columnName, EnumOrderMode orderMode)
 {
     ColumnName = columnName ?? throw new ArgumentNullException(nameof(columnName));
     OrderMode  = orderMode;
 }
Пример #2
0
 public OrderConditionFilterAttribute(EnumOrderMode pattern, params string[] columnName)
 {
     AllowOrderMode = pattern;
     ColumnName     = columnName;
 }