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