public static DO.BankBranch ConverFrom_BO_To_DoBank(BO.BankBranch other) { DO.BankBranch temp = new DO.BankBranch(); temp.BankNumber = other.BankNumber; temp.BranchAddress = other.BranchAddress; temp.BranchNumber = other.BranchNumber; temp.BranchCity = other.BranchCity; temp.BankName = other.BankName; return(temp); }
public static BO.BankBranch ConverFrom_DO_To_BoBankBranch(DO.BankBranch other) { BO.BankBranch tmp = new BO.BankBranch(); tmp.BankName = other.BankName; tmp.BankNumber = other.BankNumber; tmp.BranchAddress = other.BranchAddress; tmp.BranchCity = other.BranchCity; tmp.BranchNumber = other.BranchNumber; tmp.phone = other.Phone; return(tmp); }
public static BO.BankBranch Conv_DO_To_BO(DO.BankBranch item) { BO.BankBranch temp = new BO.BankBranch(); temp.BankName = item.BankName; temp.BankNumber = item.BankNumber; temp.BranchAddress = item.BranchAddress; temp.BranchCity = item.BranchCity; temp.BranchNumber = item.BranchNumber; temp.Phone = item.Phone; temp.AccuontNumber = item.AccuontNumber; return(temp); }
public static DO.BankBranch Conv_BO_To_DO(BO.BankBranch item) { DO.BankBranch temp = new DO.BankBranch(); temp.BankName = item.BankName; temp.BankNumber = item.BankNumber; temp.BranchAddress = item.BranchAddress; temp.BranchCity = item.BranchCity; temp.BranchNumber = item.BranchNumber; temp.Phone = item.Phone; temp.AccountNumber = item.AccountNumber; return(temp); }
public static DO.BankBranch CastingToDOBankBranch(BO.BankBranch bBankBranch) { DO.BankBranch BankBranch = new DO.BankBranch { BankName = bBankBranch.BankName, BankNumber = bBankBranch.BankNumber, BranchAddress = bBankBranch.BranchAddress, BranchCity = bBankBranch.BranchCity, BranchNumber = bBankBranch.BranchNumber }; return(BankBranch); }