/// <summary> /// 根据银行编号获取指定的银行信息 /// </summary> /// <param name="bankID">银行编号</param> /// <returns>返回DataTable对象</returns> public static DataTable GetMemberBankInfoByID(int bankID) { return(MemberBankDAL.GetMemberBankInfoByID(bankID)); }
/// <summary> /// 获取指定的会员使用银行行数 /// </summary> /// <param name="memberBank">会员使用银行模型</param> /// <returns>返回获取指定的会员使用银行行数</returns> public static int GetMemberBankCountByNameCountryCode(MemberBankModel memberBank) { return(MemberBankDAL.GetMemberBankCountByNameCountryCode(memberBank)); }
/// <summary> /// 更新指定的银行信息 /// </summary> /// <param name="memberBank">会员使用银行模型</param> /// <returns>返回更新指定的银行信息所影响的行数</returns> public static int UpdMemberBankByID(MemberBankModel memberBank) { return(MemberBankDAL.UpdMemberBankByID(memberBank)); }
/// <summary> /// 获取所有的会员使用银行信息 /// </summary> /// <returns>返回DataTable对象</returns> public static DataTable GetMemberBankInfo() { return(MemberBankDAL.GetMemberBankInfo()); }
/// <summary> /// 向会员使用银行表中插入相关记录 /// </summary> /// <param name="memberBank">会员使用银行模型</param> /// <returns>返回向会员使用银行表中插入相关记录所影响的行数</returns> public static int AddMemberBank(MemberBankModel memberBank) { return(MemberBankDAL.AddMemberBank(memberBank)); }
/// <summary> /// 删除指定的银行信息 /// </summary> /// <param name="bankID">银行编号</param> /// <returns>返回删除指定的银行信息所影响的行数</returns> public static int DelMemberBankByID(int bankID) { return(MemberBankDAL.DelMemberBankByID(bankID)); }
/// <summary> /// 通过联合查询获取银行信息 /// </summary> /// <param name="languageID">语言ID</param> /// <returns>返回DataTatble对象</returns> public static DataTable GetMoreMemberBankInfoByLanguageID(int languageID) { return(MemberBankDAL.GetMoreMemberBankInfoByLanguageID(languageID)); }
/// <summary> /// Out to excel of the all data of MemberBank /// </summary> /// <returns>Return DataTable Object</returns> public static DataTable OutToExcel_MemberBank() { return(MemberBankDAL.OutToExcel_MemberBank()); }
/// <summary> /// 获取指定国家的会员使用银行信息 /// </summary> /// <param name="countryCode">银行所属国家</param> /// <returns>返回DataTable对象</returns> public static DataTable GetMemberBankInfoByCountryCode(int countryCode) { return(MemberBankDAL.GetMemberBankInfoByCountryCode(countryCode)); }
/// <summary> /// 获取指定的会员使用银行行数 /// </summary> /// <param name="memberBank">会员使用银行模型</param> /// <returns>返回获取指定的会员使用银行行数</returns> public static int GetMemberBankCountByAll(MemberBankModel memberBank) { return(MemberBankDAL.GetMemberBankCountByAll(memberBank)); }
/// <summary> /// Judge the MemberBankId whether exist by Id before delete or update /// </summary> /// <param name="Id">Id</param> /// <returns>Return the counts of the MemberBankId by Id</returns> public static int MemberBankIdIsExist(int Id) { return(MemberBankDAL.MemberBankIdIsExist(Id)); }
/// <summary> /// Juage the MemberBankId whether has operation before delete by Id /// </summary> /// <param name="Id">Id</param> /// <returns>Return the counts of the MemberBankId by Id</returns> public static int MemberBankIdWhetherHasOperation(int Id) { return(MemberBankDAL.MemberBankIdWhetherHasOperation(Id)); }
/// <summary> /// 获取会员使用银行的银行ID和银行名称 /// </summary> /// <param name="tran">要处理的事务</param> /// <returns>返回DataTable对象</returns> public static DataTable GetMemberBankIDName(SqlTransaction tran) { return(MemberBankDAL.GetMemberBankIDName(tran)); }