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