public DataSet LoadBranchMaster(clsBranchMaster objBranchMaster) { object[] parameters = new object[7] { objBranchMaster.BranchID, objBranchMaster.BranchCode, objBranchMaster.BranchName, objBranchMaster.EffectivefromDate1, objBranchMaster.EffectivefromDate2, objBranchMaster.Effectivetodate1, objBranchMaster.Effectivetodate2 }; dataAccessDS = new DataAccess(); return(dataAccessDS.LoadDataSet(parameters, "P_TM_BranchMaster_Sel", "TM_BranchMaster")); }
public DataSet SaveBranchDetails(clsBranchMaster objBranch) { dataAccess = new DataAccess(); Object[] parameters = new Object[] { objBranch.BranchID, objBranch.BranchCode, objBranch.BranchName, objBranch.EffFrom, objBranch.EffTo, objBranch.CreatedBy }; return(dataAccess.LoadDataSet(parameters, "P_TM_BranchDetails_InsertUpdate", "BranchInsertUpdate")); }
public DataSet GetBranchDetails(clsBranchMaster objBranch) { dataAccess = new DataAccess(); Object[] parameters = new Object[] { objBranch.BranchID, objBranch.BranchCode, objBranch.BranchName, objBranch.EffFrom, objBranch.EffFrom1, objBranch.EffTo, objBranch.EffTo1 }; return(dataAccess.LoadDataSet(parameters, "P_TM_GetBranchDetails", "BranchDetails")); }