//Copy Constructor
 public MSSqlClass(MSSqlClass right)
 {
     this.CSqlStr      = right.CSqlStr;
     this.CDataSource  = right.CDataSource;
     this.CAttachedDB  = right.CAttachedDB;
     this.CIntSecurity = right.CIntSecurity;
 }
示例#2
0
 //Copy Constructor
 public PartnerClass(PartnerClass right)
 {
     this.CPartnerID        = right.CPartnerID;
     this.CPartnetType      = right.CPartnetType;
     this.CName             = right.CName;
     this.CPhone            = right.CPhone;
     this.CAlternativePhone = right.CAlternativePhone;
     this.CFaxNumber        = right.CFaxNumber;
     this.CEmail            = right.CEmail;
     this.CAlternativeEmail = right.CAlternativeEmail;
     this.CSuiteNumber      = right.CSuiteNumber;
     this.CStreetNumber     = right.CStreetNumber;
     this.CStreetName       = right.CStreetName;
     this.CCity             = right.CCity;
     this.CProvince         = right.CProvince;
     this.CPostalCode       = right.CPostalCode;
     this.CMSSQLObj         = right.CMSSQLObj;
     this.CMSAccessObj      = right.CMSAccessObj;
     this.CWhichDB          = right.CWhichDB;
 }