/// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="topNumber">Top数量</param>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable实体列表</returns>
 public List<OrderTableModel> GetTopOrderTableList(int topNumber,OrderTableWhereFields whereField,OrderTableOrderFields orderField)
 {
     List<OrderTableWhereFields> whereFields = new List<OrderTableWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<OrderTableOrderFields> orderFields = new List<OrderTableOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return dataAccess.GetTopOrderTableList(topNumber,null,whereFields,orderFields);
 }
 /// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="topNumber">Top数量</param>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable表格</returns>
 public DataTable GetTopOrderTableTable(DataBaseType dbType,int topNumber,OrderTableWhereFields whereField,OrderTableOrderFields orderField)
 {
     List<OrderTableWhereFields> whereFields = new List<OrderTableWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<OrderTableOrderFields> orderFields = new List<OrderTableOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return dataAccess.GetTopOrderTableTable(dbType,topNumber,null,whereFields,orderFields);
 }
 /// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable表格</returns>
 public DataTable GetOrderTableTable(OrderTableWhereFields whereField,OrderTableOrderFields orderField)
 {
     List<OrderTableWhereFields> whereFields = new List<OrderTableWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<OrderTableOrderFields> orderFields = new List<OrderTableOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return dataAccess.GetOrderTableTable(null,whereFields,orderFields);
 }
 /// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable表格</returns>
 public DataTable GetOrderTableTable(DataBaseType dbType,OrderTableOrderFields orderField)
 {
     List<OrderTableOrderFields> orderFields = new List<OrderTableOrderFields>();
     orderFields.Add(orderField);
     return dataAccess.GetOrderTableTable(dbType,null,null,orderFields);
 }
 /// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable实体列表</returns>
 public List<OrderTableModel> GetOrderTableList(DataBaseType dbType,OrderTableWhereFields whereField,OrderTableOrderFields orderField)
 {
     List<OrderTableWhereFields> whereFields = new List<OrderTableWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<OrderTableOrderFields> orderFields = new List<OrderTableOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return dataAccess.GetOrderTableList(dbType,null,whereFields,orderFields);
 }
 /// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable实体列表</returns>
 public List<OrderTableModel> GetOrderTableList(OrderTableOrderFields orderField)
 {
     List<OrderTableOrderFields> orderFields = new List<OrderTableOrderFields>();
     orderFields.Add(orderField);
     return dataAccess.GetOrderTableList(null,null,orderFields);
 }
示例#7
0
 /// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable表格</returns>
 public DataTable GetOrderTableTable(OrderTableWhereFields whereField,OrderTableOrderFields orderField)
 {
     return GetOrderTableTable(DataBaseType.Read,whereField,orderField);
 }
示例#8
0
 /// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable表格</returns>
 public DataTable GetOrderTableTable(DataBaseType dbType,OrderTableWhereFields whereField,OrderTableOrderFields orderField)
 {
     List<OrderTableWhereFields> whereFields = new List<OrderTableWhereFields>();
     if(whereField !=null)
     {
          whereFields.Add(whereField);
     }
     List<OrderTableOrderFields> orderFields = new List<OrderTableOrderFields>();
     if(orderField !=null)
     {
          orderFields.Add(orderField);
     }
     return GetOrderTableTable(dbType,null,whereFields,orderFields);
 }
示例#9
0
 /// <summary>
 /// OrderTable 自定义查询操作
 /// </summary>
 /// <param name="whereField">条件字段</param>
 /// <param name="orderField">排序字段</param>
 /// <returns>返回OrderTable实体列表</returns>
 public List<OrderTableModel> GetOrderTableList(OrderTableWhereFields whereField,OrderTableOrderFields orderField)
 {
     return GetOrderTableList(DataBaseType.Read,whereField,orderField);
 }