/// <summary> /// OrderTable 自定义查询操作 /// </summary> /// <param name="dbType">数据库类型</param> /// <param name="whereFields">条件字段</param> /// <returns>返回OrderTable实体列表</returns> public List<OrderTableModel> GetOrderTableList(DataBaseType dbType,OrderTableWhereFields whereFields) { return dataAccess.GetOrderTableList(dbType,whereFields); }
/// <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> /// 自定义删除 /// </summary> /// <param name="whereField">删除条件</param> /// <returns>执行成功返回true,否则为false</returns> public bool Delete(OrderTableWhereFields whereField) { List<OrderTableWhereFields> whereFields = new List<OrderTableWhereFields> (); whereFields.Add(whereField); return dataAccess.Delete(whereFields); }
/// <summary> /// OrderTable 自定义查询操作 /// </summary> /// <param name="whereFields">条件字段</param> /// <returns>返回OrderTable实体列表</returns> public List<OrderTableModel> GetOrderTableList(OrderTableWhereFields whereFields) { return dataAccess.GetOrderTableList(whereFields); }
/// <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 List<OrderTableModel> GetOrderTableList(OrderTableWhereFields whereField,OrderTableOrderFields orderField) { return GetOrderTableList(DataBaseType.Read,whereField,orderField); }
/// <summary> /// 自定义修改 /// </summary> /// <param name="update">更新字段</param> /// <param name="where">条件字段</param> /// <param name="transaction">事务</param> /// <returns>执行成功返回true,否则为false</returns> public bool Update(List<OrderTableFieldValuePair> update, OrderTableWhereFields where,DbTransaction transaction) { List<OrderTableWhereFields> wheres = new List<OrderTableWhereFields>(); wheres.Add(where); return Update(update, wheres,transaction); }
/// <summary> /// OrderTable 自定义查询操作 /// </summary> /// <param name="dbType">数据库类型</param> /// <param name="whereFields">条件字段</param> /// <returns>返回OrderTable表格</returns> public DataTable GetOrderTableTable(DataBaseType dbType,OrderTableWhereFields whereFields) { return dataAccess.GetOrderTableTable(dbType,whereFields); }
/// <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); }
/// <summary> /// 自定义修改 /// </summary> /// <param name="update">更新字段</param> /// <param name="where">条件字段</param> /// <returns>执行成功返回true,否则为false</returns> public bool Update(List<OrderTableFieldValuePair> update,OrderTableWhereFields where) { List<OrderTableWhereFields> wheres = new List<OrderTableWhereFields>(); wheres.Add(where); return Update(update, wheres); }
/// <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); }
/// <summary> /// OrderTable 自定义查询操作 /// </summary> /// <param name="where">条件字段</param> /// <returns>返回OrderTable表格</returns> public DataTable GetOrderTableTable(OrderTableWhereFields where) { return GetOrderTableTable(DataBaseType.Read,where); }
/// <summary> /// OrderTable 自定义查询操作 /// </summary> /// <param name="dbType">数据库类型</param> /// <param name="where">条件字段</param> /// <returns>返回OrderTable表格</returns> public DataTable GetOrderTableTable(DataBaseType dbType,OrderTableWhereFields where) { List<OrderTableWhereFields> whereFields = new List<OrderTableWhereFields>(); whereFields.Add(where); return GetOrderTableTable(dbType,null,whereFields,null); }
/// <summary> /// OrderTable 自定义查询操作 /// </summary> /// <param name="whereFields">条件字段</param> /// <returns>返回OrderTable表格</returns> public DataTable GetOrderTableTable(OrderTableWhereFields whereFields) { return dataAccess.GetOrderTableTable(whereFields); }
/// <summary> /// 自定义修改 /// </summary> /// <param name="update">更新字段</param> /// <param name="where">条件字段</param> /// <param name="transaction">事务</param> /// <returns>执行成功返回true,否则为false</returns> public bool Update(OrderTableFieldValuePair update,OrderTableWhereFields where,DbTransaction transaction) { List<OrderTableFieldValuePair> updates=new List<OrderTableFieldValuePair> (); if(update !=null) { updates.Add(update); } List<OrderTableWhereFields> wheres = new List<OrderTableWhereFields>(); if(where !=null) { wheres.Add(where); } return Update(updates,wheres,transaction); }
/// <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> /// 自定义删除 /// </summary> /// <param name="where">删除条件</param> /// <returns>执行成功返回true,否则为false</returns> public bool Delete(OrderTableWhereFields where) { List<OrderTableWhereFields> wheres = new List<OrderTableWhereFields> (); wheres.Add(where); return Delete(wheres); }
/// <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> /// 自定义删除 /// </summary> /// <param name="where">删除条件</param> /// <param name="transaction">事务</param> /// <returns>执行成功返回true,否则为false</returns> public bool Delete(OrderTableWhereFields where,DbTransaction transaction) { List<OrderTableWhereFields> wheres = new List<OrderTableWhereFields> (); wheres.Add(where); return Delete(wheres,transaction); }
/// <summary> /// 自定义修改 /// </summary> /// <param name="updateField">更新字段</param> /// <param name="whereField">条件字段</param> /// <returns>执行成功返回true,否则为false</returns> public bool Update(OrderTableFieldValuePair updateField, OrderTableWhereFields whereField) { List<OrderTableFieldValuePair> updateFields=new List<OrderTableFieldValuePair>(); List<OrderTableWhereFields> whereFields= new List<OrderTableWhereFields>(); updateFields.Add(updateField); whereFields.Add(whereField); return dataAccess.Update(updateFields,whereFields); }
/// <summary> /// OrderTable 自定义查询操作 /// </summary> /// <param name="dbType">数据库类型</param> /// <param name="where">条件字段</param> /// <returns>返回OrderTable实体列表</returns> public List<OrderTableModel> GetOrderTableList(DataBaseType dbType,OrderTableWhereFields where) { List<OrderTableWhereFields> whereFields = new List<OrderTableWhereFields>(); whereFields.Add(where); return GetOrderTableList(dbType,null,whereFields,null); }