public override void UpdateStatus() { Personnel_Setup_Property objPersonnelSetupPropertyNew = new Personnel_Setup_Property(); objPersonnelSetupPropertyNew.ID = base.Id; objPersonnelSetupPropertyNew.Status = base.Status; objPersonnelSetupPropertyNew.TableName = objPersonnelSetupProperty.TableName; objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupPropertyNew); objPersonnelSetupDAL.UpdateStatus(); //Transaction_Master_Property objTransactionMasterPropertyNew = new Transaction_Master_Property(); //objTransactionMasterPropertyNew.ID = base.Id; //objTransactionMasterPropertyNew.Status = base.Status; //objTransactionMasterPropertyNew.TableName = objTransactionMasterProperty.TableName; //objTransactionMasterPropertyNew.Operated_By = objTransactionMasterProperty.Operated_By; ////if (objTransactionMasterPropertyNew.Status != null) ////{ //objTransactionMasterDAL = new Transaction_Master_DAL(objTransactionMasterPropertyNew); //objTransactionMasterDAL.UpdateStatus(); }
public DataTable Select_All_OrderBookerbyDistributorID() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.Select_All_OrderBookerbyDistributorID()); }
public DataTable View() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.SelectOne()); }
public int GetDistributorIDByCNIC() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.getDistributorIDByCNIC()); }
public DataTable Get_SalesRep() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.Get_SalesRep()); }
public DataTable ViewAllBYPRP_PersonnelID() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.SelectAllbyPRP_PersonnelID()); }
//Get_SalesRep //Get Distributor ID by CNIC public int GetDistributorCodebyCNIC() { //objPersonnelSetupProperty.NIC = (System.Data.SqlTypes.SqlString)CNIC.ToString(); objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.getDistributorCodeByCNIC()); }
public DataTable ViewAllForVehicleSharing() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.SelectAllForVehicleSharing()); }
public string UpdatePersonnelSetupXMLbyCNIC() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.UpdatePersonnelSetupXMLbyNIC()); }
public DataTable SelectExistingSR_PR() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.SelectExistingSR_PRP()); }
public bool Update() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.Update()); }
public bool ADD() { objPersonnelSetupDAL = new Personnel_Setup_DAL(objPersonnelSetupProperty); return(objPersonnelSetupDAL.Insert()); }