public static Address ToBOAddress(this DO.Address doAddressSource) { return(new Address( doAddressSource.Street, doAddressSource.HouseNumber, doAddressSource.City)); }
public Test(Test other) { TesterId = other.TesterId; TesterId = other.testerId; TraineeId = other.traineeId; DateOfTest = other.DateOfTest; HourOfTest = other.HourOfTest; StartTestAddress = new DO.Address(other.StartTestAddress.City, other.StartTestAddress.Street, other.StartTestAddress.BuildingNumber); CarType = other.CarType; DistanceKeeping = other.DistanceKeeping; ReverseParking = other.ReverseParking; MirrorsCheck = other.MirrorsCheck; Signals = other.Signals; CorrectSpeed = other.CorrectSpeed; IsPassed = other.IsPassed; TesterNotes = other.TesterNotes; IsTesterUpdateStatus = other.IsTesterUpdateStatus; IsTestAborted = other.IsTestAborted; }