Vehicle class / variable

Jun 6, 2011 at 1:04 PM



MileAgeStats.Domain.Model.VehicleModel.cs on line 29 inside the VehicleModel Constructor how did you insert:


Vehicle = vehicle


and have Vehicle as a variable and not as a class? how did you do it on VisualStudio 2010?



Jun 7, 2011 at 2:14 AM

Vehicle is a private property on the class. Its at the bottom of the file.

private Model.Vehicle Vehicle {  get; set; }

Does this help?