示例#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;
 }