示例#1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="orderType">排序方式</param>
 public OrderAttribute(Entity.OrderType orderType)
 {
     this.orderType = orderType;
 }
示例#2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="fieldName">排序字段</param>
 /// <param name="orderType">排序方式</param>
 public AssocOrderAttribute(String fieldName, Entity.OrderType orderType)
 {
     this.FieldName = fieldName;
     this.orderType = orderType;
 }