Esempio n. 1
0
 public Data.Vehicle ToDataEntity(int?id = null)
 {
     return(new Data.Vehicle(id ?? Id, Brand, Model, Color.ToString(),
                             LicensePlate.ToString(), VehicleType.Car));
 }
Esempio n. 2
0
 public override string ToString()
 {
     return(LicensePlate.ToString());
 }