/// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="where">条件字段</param>
 /// <returns>返回TicketType实体列表</returns>
 public List<TicketTypeModel> GetTicketTypeList(DataBaseType dbType,TicketTypeWhereFields where)
 {
     List<TicketTypeWhereFields> whereFields = new List<TicketTypeWhereFields>();
       whereFields.Add(where);
       return GetTicketTypeList(dbType,null,whereFields,null);
 }
 /// <summary>
 /// 自定义删除
 /// </summary>
 /// <param name="where">删除条件</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Delete(TicketTypeWhereFields where)
 {
     List<TicketTypeWhereFields> wheres = new List<TicketTypeWhereFields> ();
        wheres.Add(where);
        return Delete(wheres);
 }
 /// <summary>
 /// 自定义删除
 /// </summary>
 /// <param name="where">删除条件</param>
 /// <param name="transaction">事务</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Delete(TicketTypeWhereFields where,DbTransaction transaction)
 {
     List<TicketTypeWhereFields> wheres = new List<TicketTypeWhereFields> ();
        wheres.Add(where);
        return Delete(wheres,transaction);
 }
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="whereFields">条件字段</param>
 /// <returns>返回TicketType实体列表</returns>
 public List<TicketTypeModel> GetTicketTypeList(TicketTypeWhereFields whereFields)
 {
     return dataAccess.GetTicketTypeList(whereFields);
 }
 /// <summary>
 /// 自定义修改
 /// </summary>
 /// <param name="update">更新字段</param>
 /// <param name="where">条件字段</param>
 /// <param name="transaction">事务</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Update(TicketTypeFieldValuePair update,TicketTypeWhereFields where,DbTransaction transaction)
 {
     List<TicketTypeFieldValuePair> updates=new List<TicketTypeFieldValuePair> ();
     if(update !=null)
     {
         updates.Add(update);
     }
     List<TicketTypeWhereFields> wheres = new List<TicketTypeWhereFields>();
     if(where !=null)
     {
         wheres.Add(where);
     }
     return Update(updates,wheres,transaction);
 }
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="where">条件字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTicketTypeTable(DataBaseType dbType,TicketTypeWhereFields where)
 {
     List<TicketTypeWhereFields> whereFields = new List<TicketTypeWhereFields>();
       whereFields.Add(where);
       return GetTicketTypeTable(dbType,null,whereFields,null);
 }
 /// <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);
 }
 /// <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);
 }
 /// <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);
 }
 /// <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);
 }
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="whereFields">条件字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTicketTypeTable(DataBaseType dbType,TicketTypeWhereFields whereFields)
 {
     return dataAccess.GetTicketTypeTable(dbType,whereFields);
 }
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="whereFields">条件字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTicketTypeTable(TicketTypeWhereFields whereFields)
 {
     return dataAccess.GetTicketTypeTable(whereFields);
 }
 /// <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);
 }
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="dbType">数据库类型</param>
 /// <param name="whereFields">条件字段</param>
 /// <returns>返回TicketType实体列表</returns>
 public List<TicketTypeModel> GetTicketTypeList(DataBaseType dbType,TicketTypeWhereFields whereFields)
 {
     return dataAccess.GetTicketTypeList(dbType,whereFields);
 }
Example #15
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="where">条件字段</param>
 /// <returns>返回TicketType实体列表</returns>
 public List<TicketTypeModel> GetTicketTypeList(TicketTypeWhereFields where)
 {
     return GetTicketTypeList(DataBaseType.Read,where);
 }
 /// <summary>
 /// 自定义修改
 /// </summary>
 /// <param name="updateField">更新字段</param>
 /// <param name="whereField">条件字段</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Update(TicketTypeFieldValuePair updateField, TicketTypeWhereFields whereField)
 {
     List<TicketTypeFieldValuePair> updateFields=new List<TicketTypeFieldValuePair>();
      List<TicketTypeWhereFields> whereFields= new List<TicketTypeWhereFields>();
      updateFields.Add(updateField);
      whereFields.Add(whereField);
      return dataAccess.Update(updateFields,whereFields);
 }
Example #17
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);
 }
Example #18
0
 /// <summary>
 /// 自定义修改
 /// </summary>
 /// <param name="update">更新字段</param>
 /// <param name="where">条件字段</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Update(List<TicketTypeFieldValuePair> update,TicketTypeWhereFields where)
 {
     List<TicketTypeWhereFields> wheres = new List<TicketTypeWhereFields>();
     wheres.Add(where);
     return Update(update, wheres);
 }
Example #19
0
 /// <summary>
 /// TicketType 自定义查询操作
 /// </summary>
 /// <param name="where">条件字段</param>
 /// <returns>返回TicketType表格</returns>
 public DataTable GetTicketTypeTable(TicketTypeWhereFields where)
 {
     return  GetTicketTypeTable(DataBaseType.Read,where);
 }
Example #20
0
 /// <summary>
 /// 自定义修改
 /// </summary>
 /// <param name="update">更新字段</param>
 /// <param name="where">条件字段</param>
 /// <param name="transaction">事务</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Update(List<TicketTypeFieldValuePair> update, TicketTypeWhereFields where,DbTransaction transaction)
 {
     List<TicketTypeWhereFields> wheres = new List<TicketTypeWhereFields>();
     wheres.Add(where);
     return Update(update, wheres,transaction);
 }
Example #21
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);
 }
 /// <summary>
 /// 自定义删除
 /// </summary>
 /// <param name="whereField">删除条件</param>
 /// <returns>执行成功返回true,否则为false</returns>
 public bool Delete(TicketTypeWhereFields whereField)
 {
     List<TicketTypeWhereFields> whereFields = new List<TicketTypeWhereFields> ();
        whereFields.Add(whereField);
       return dataAccess.Delete(whereFields);
 }