public SettlementSectionSdo(SettlementSection section) { if (section == null) { return; } LotSdos = LotSdo.ConvertToLotSdos(section.Lots); }
public SettlementSection(SettlementSectionSdo sdo) { if (sdo == null) { return; } Lots = LotSdo.ConvertToLots(sdo.LotSdos); }
public Lot(LotSdo sdo) { Height = sdo.Height; Width = sdo.Width; UpperLeftCorner = sdo.UpperLeftCorner; UpperRightCorner = sdo.UpperRightCorner; LowerRightCorner = sdo.LowerRightCorner; LowerLeftCorner = sdo.LowerLeftCorner; AssignedBuilding = BuildingSdo.ConvertToBuilding(sdo.AssignedBuildingSdo); }
public static Lot ConvertToLot(LotSdo sdo) { return(sdo == null ? null : new Lot(sdo)); }