public EmployeeAddressDL(int employeeAddressID, bool getAllProperties) { EmployeeAddressID = employeeAddressID; AddressInfo = new MailingAddressDL(); if (getAllProperties) { GetEmployeeAddress(); } }
public ClientDL(int clientID, bool getAllProperties, string isValid) { ClientID = clientID; AddressInfo = new MailingAddressDL(); IsValid = isValid; if (getAllProperties) { GetClient(); } }
public CompanyDL(int companyID, bool getAllProperties) { CompanyID = companyID; CompanyAddress = new MailingAddressDL(); CompanyDepartments = new List <DepartmentDL>(); if (getAllProperties) { GetCompany(); } }
public ContactDL() : base() { this._myConnection = new ACEConnection(); this._fName = ""; this._lName = ""; this._homeEmail = ""; this._workEmail = ""; this._homePhone = ""; this._workPhone = ""; this._mobilePhone = ""; this._comments = ""; this._addEditOption = 0; this._contactAddress = new MailingAddressDL(); }
public SupplierDL() : base() { _myConnection = new ACEConnection(); _supplierName = ""; _supplierCompanyName = ""; _homeEmail = ""; _workEmail = ""; _homePhone = ""; _workPhone = ""; _mobilePhone = ""; _comments = ""; _addEditOption = 0; _supplierAddress = new MailingAddressDL(); }
public ContactDL(int contactID, int companyID, bool allProperties) : base() { this._myConnection = new ACEConnection(); this._fName = ""; this._lName = ""; this._homeEmail = ""; this._workEmail = ""; this._homePhone = ""; this._workPhone = ""; this._mobilePhone = ""; this._comments = ""; this._addEditOption = 0; this._contactID = contactID; this._companyID = companyID; if (allProperties) { this._contactAddress = new MailingAddressDL(); GetContact(); } }
public SupplierDL(int SupplierID, int companyID, bool allProperties) : base() { _myConnection = new ACEConnection(); _supplierName = ""; _supplierCompanyName = ""; _homeEmail = ""; _workEmail = ""; _homePhone = ""; _workPhone = ""; _mobilePhone = ""; _comments = ""; _addEditOption = 0; _supplierID = SupplierID; _companyID = companyID; if (allProperties) { _supplierAddress = new MailingAddressDL(); GetSupplier(); } }
public ContactDL(string fName, string lName, MailingAddressDL contactAddress, string homeEmail, string workEmail, string homePhone, string workPhone, string mobilePhone, string comments) : base() { this._myConnection = new ACEConnection(); this._fName = ""; this._lName = ""; this._homeEmail = ""; this._workEmail = ""; this._homePhone = ""; this._workPhone = ""; this._mobilePhone = ""; this._comments = ""; this._addEditOption = 0; this._fName = fName; this._lName = lName; this._contactAddress = contactAddress; this._homeEmail = homeEmail; this._workEmail = workEmail; this._homePhone = homePhone; this._workPhone = workPhone; this._mobilePhone = mobilePhone; this._comments = comments; }
public EmployeeAddressDL() { AddressInfo = new MailingAddressDL(); }
public ClientDL() { AddressInfo = new MailingAddressDL(); }
public CompanyDL() { CompanyAddress = new MailingAddressDL(); CompanyDepartments = new List <DepartmentDL>(); }