예제 #1
0
 public clsHouse()
 {
     vReferenceId   = vHouseType = vSellingType = "Not Defined";
     vAddress       = new clsAddress();
     vNoOfBathrooms = vNoOfBedrooms = 0;
     vPrice         = 0;
     vStatus        = "Sold";
 }
예제 #2
0
 public clsHouse(string referenceId, string aptNo, string streetAddress, string city, string province, string postalCode, int nbOfBath, int nbOfBeds, string houseType, decimal price, string sellingType, string status)
 {
     vReferenceId   = referenceId;
     vAddress       = new clsAddress(aptNo, city, province, streetAddress, postalCode);
     vNoOfBathrooms = nbOfBath;
     vNoOfBedrooms  = nbOfBeds;
     vHouseType     = houseType;
     vPrice         = price;
     vStatus        = status;
     vSellingType   = sellingType;
 }
예제 #3
0
 public clsHouse(string refId, clsAddress address, int nbOfBath, int nbOfBeds, string houseType, decimal price, string sellingType, string status)
 {
     vReferenceId   = refId;
     vAddress       = new clsAddress();
     vNoOfBathrooms = nbOfBath;
     vNoOfBedrooms  = nbOfBeds;
     vHouseType     = houseType;
     vPrice         = price;
     vStatus        = status;
     vSellingType   = sellingType;
 }