コード例 #1
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTicketTypeTable(DataBaseType dbType,TicketTypeWhereFields whereField,TicketTypeOrderFields orderField)
 {
     List<TicketTypeWhereFields> whereFields = new List<TicketTypeWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<TicketTypeOrderFields> orderFields = new List<TicketTypeOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return GetTicketTypeTable(dbType,null,whereFields,orderFields);
 }
コード例 #2
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTicketTypeTable(TicketTypeWhereFields whereField,TicketTypeOrderFields orderField)
 {
     return GetTicketTypeTable(DataBaseType.Read,whereField,orderField);
 }
コード例 #3
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="topNumber">Top数量</param>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTopTicketTypeTable(DataBaseType dbType,int topNumber,TicketTypeWhereFields whereField,TicketTypeOrderFields orderField)
 {
     List<TicketTypeWhereFields> whereFields = new List<TicketTypeWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<TicketTypeOrderFields> orderFields = new List<TicketTypeOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return dataAccess.GetTopTicketTypeTable(dbType,topNumber,null,whereFields,orderFields);
 }
コード例 #4
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType实体列表</returns>
 public List<TicketTypeModel> GetTicketTypeList(TicketTypeWhereFields whereField,TicketTypeOrderFields orderField)
 {
     return GetTicketTypeList(DataBaseType.Read,whereField,orderField);
 }
コード例 #5
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="topNumber">Top数量</param>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType实体列表</returns>
 public List<TicketTypeModel> GetTopTicketTypeList(int topNumber,TicketTypeWhereFields whereField,TicketTypeOrderFields orderField)
 {
     List<TicketTypeWhereFields> whereFields = new List<TicketTypeWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<TicketTypeOrderFields> orderFields = new List<TicketTypeOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return dataAccess.GetTopTicketTypeList(topNumber,null,whereFields,orderFields);
 }
コード例 #6
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTicketTypeTable(DataBaseType dbType,TicketTypeOrderFields orderField)
 {
     List<TicketTypeOrderFields> orderFields = new List<TicketTypeOrderFields>();
     orderFields.Add(orderField);
     return dataAccess.GetTicketTypeTable(dbType,null,null,orderFields);
 }
コード例 #7
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTicketTypeTable(TicketTypeWhereFields whereField,TicketTypeOrderFields orderField)
 {
     List<TicketTypeWhereFields> whereFields = new List<TicketTypeWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<TicketTypeOrderFields> orderFields = new List<TicketTypeOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return dataAccess.GetTicketTypeTable(null,whereFields,orderFields);
 }
コード例 #8
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType实体列表</returns>
 public List<TicketTypeModel> GetTicketTypeList(DataBaseType dbType,TicketTypeOrderFields orderField)
 {
     List<TicketTypeOrderFields> orderFields = new List<TicketTypeOrderFields>();
     orderFields.Add(orderField);
     return dataAccess.GetTicketTypeList(dbType,null,null,orderFields);
 }
コード例 #9
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回TicketType实体列表</returns>
 public List<TicketTypeModel> GetTicketTypeList(DataBaseType dbType,TicketTypeWhereFields whereField,TicketTypeOrderFields orderField)
 {
     List<TicketTypeWhereFields> whereFields = new List<TicketTypeWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<TicketTypeOrderFields> orderFields = new List<TicketTypeOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return dataAccess.GetTicketTypeList(dbType,null,whereFields,orderFields);
 }