/// <summary> /// Deprecated Method for adding a new object to the tblVehicles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblVehicles(tblVehicle tblVehicle) { base.AddObject("tblVehicles", tblVehicle); }
/// <summary> /// Create a new tblVehicle object. /// </summary> /// <param name="vehicle_ID_Pk">Initial value of the Vehicle_ID_Pk property.</param> public static tblVehicle CreatetblVehicle(global::System.Int32 vehicle_ID_Pk) { tblVehicle tblVehicle = new tblVehicle(); tblVehicle.Vehicle_ID_Pk = vehicle_ID_Pk; return tblVehicle; }