public Test(Test other) { exTrainee = other.ExTrainee; exTester = other.ExTester; dateOfTest = other.DateOfTest; hourOfTest = other.HourOfTest; carType = other.CarType; startTestAddress = new Address(other.StartTestAddress.City, other.StartTestAddress.Street, other.StartTestAddress.BuildingNumber); distanceKeeping = other.DistanceKeeping; reverseParking = other.ReverseParking; mirrorsCheck = other.MirrorsCheck; signals = other.Signals; correctSpeed = other.CorrectSpeed; isPassed = other.IsPassed; testerNotes = other.TesterNotes; isTesterUpdateStatus = other.isTesterUpdateStatus; }
public Test(DO.Test other) { TestId = other.TestId; exTrainee = new ExternalTrainee(other.TraineeId); ///////////////////////////////////// exTester = new ExternalTester(other.TesterId); //////////////////////////////////////// dateOfTest = other.DateOfTest; hourOfTest = other.HourOfTest; carType = (CarTypeEnum)other.CarType; startTestAddress = new Address(other.StartTestAddress.City, other.StartTestAddress.Street, other.StartTestAddress.BuildingNumber); distanceKeeping = other.DistanceKeeping; reverseParking = other.ReverseParking; mirrorsCheck = other.MirrorsCheck; signals = other.Signals; correctSpeed = other.CorrectSpeed; isPassed = other.IsPassed; testerNotes = other.TesterNotes; isTesterUpdateStatus = other.IsTesterUpdateStatus; }
public TraineeTest(Test boTest, ExternalTrainee trainee) { TestNumber = boTest.TestNumber; Trainee = trainee; TestDate = boTest.TestDate; TestTime = boTest.TestTime; ExitAddress = boTest.ExitAddress; TestAlreadyDoneAndSealed = boTest.TestAlreadyDoneAndSealed; DistanceKeeping = boTest.DistanceKeeping; ReverseParking = boTest.ReverseParking; LookingAtMirrors = boTest.LookingAtMirrors; SignalsUsage = boTest.SignalsUsage; PriorityGiving = boTest.PriorityGiving; SpeedKeeping = boTest.SpeedKeeping; TestScore = boTest.TestScore; TestersNote = boTest.TestersNote; }