コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CaseVehicles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCaseVehicles(CaseVehicle caseVehicle)
 {
     base.AddObject("CaseVehicles", caseVehicle);
 }