public EmployeeAddressDL(int employeeAddressID, bool getAllProperties)
 {
     EmployeeAddressID = employeeAddressID;
     AddressInfo       = new MailingAddressDL();
     if (getAllProperties)
     {
         GetEmployeeAddress();
     }
 }
Exemple #2
0
 public ClientDL(int clientID, bool getAllProperties, string isValid)
 {
     ClientID    = clientID;
     AddressInfo = new MailingAddressDL();
     IsValid     = isValid;
     if (getAllProperties)
     {
         GetClient();
     }
 }
Exemple #3
0
 public CompanyDL(int companyID, bool getAllProperties)
 {
     CompanyID          = companyID;
     CompanyAddress     = new MailingAddressDL();
     CompanyDepartments = new List <DepartmentDL>();
     if (getAllProperties)
     {
         GetCompany();
     }
 }
Exemple #4
0
 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();
 }
Exemple #5
0
 public SupplierDL()
     : base()
 {
     _myConnection        = new ACEConnection();
     _supplierName        = "";
     _supplierCompanyName = "";
     _homeEmail           = "";
     _workEmail           = "";
     _homePhone           = "";
     _workPhone           = "";
     _mobilePhone         = "";
     _comments            = "";
     _addEditOption       = 0;
     _supplierAddress     = new MailingAddressDL();
 }
Exemple #6
0
 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();
     }
 }
Exemple #7
0
 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();
     }
 }
Exemple #8
0
 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();
 }
Exemple #10
0
 public ClientDL()
 {
     AddressInfo = new MailingAddressDL();
 }
Exemple #11
0
 public CompanyDL()
 {
     CompanyAddress     = new MailingAddressDL();
     CompanyDepartments = new List <DepartmentDL>();
 }