/// <summary> /// Saves the transport into the database /// </summary> private void SaveTransportVehicle( RecTransport transport, int seq ) { ProjectManager svc = new ProjectManager(); RecTransportVehicleStd newRec = svc.InsertTransportVehicle( transport, TransportVehicleStdObject, seq ); // Use the new veh id TransportVehicleStdObject.VehicleId = newRec.VehicleId; }