/// <summary> /// Create a new CaseVehicle object. /// </summary> /// <param name="vehicleID">Initial value of the VehicleID property.</param> public static CaseVehicle CreateCaseVehicle(global::System.Int32 vehicleID) { CaseVehicle caseVehicle = new CaseVehicle(); caseVehicle.VehicleID = vehicleID; return caseVehicle; }
/// <summary> /// Deprecated Method for adding a new object to the CaseVehicles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCaseVehicles(CaseVehicle caseVehicle) { base.AddObject("CaseVehicles", caseVehicle); }