Nettiers.AdventureWorks.Entities.VProductModelInstructionsBase.CreateVProductModelInstructions C# (CSharp) Method

CreateVProductModelInstructions() public static method

A simple factory method to create a new VProductModelInstructions instance.
public static CreateVProductModelInstructions ( System _productModelId, System _name, System _instructions, System _locationId, System _setupHours, System _machineHours, System _laborHours, System _lotSize, System _step, System _rowguid, System _modifiedDate ) : VProductModelInstructions
_productModelId System
_name System
_instructions System
_locationId System
_setupHours System
_machineHours System
_laborHours System
_lotSize System
_step System
_rowguid System
_modifiedDate System
return VProductModelInstructions
		public static VProductModelInstructions CreateVProductModelInstructions(System.Int32 _productModelId, System.String _name, System.String _instructions, System.Int32? _locationId, System.Decimal? _setupHours, System.Decimal? _machineHours, System.Decimal? _laborHours, System.Int32? _lotSize, System.String _step, System.Guid _rowguid, System.DateTime _modifiedDate)
		{
			VProductModelInstructions newVProductModelInstructions = new VProductModelInstructions();
			newVProductModelInstructions.ProductModelId = _productModelId;
			newVProductModelInstructions.Name = _name;
			newVProductModelInstructions.Instructions = _instructions;
			newVProductModelInstructions.LocationId = _locationId;
			newVProductModelInstructions.SetupHours = _setupHours;
			newVProductModelInstructions.MachineHours = _machineHours;
			newVProductModelInstructions.LaborHours = _laborHours;
			newVProductModelInstructions.LotSize = _lotSize;
			newVProductModelInstructions.Step = _step;
			newVProductModelInstructions.Rowguid = _rowguid;
			newVProductModelInstructions.ModifiedDate = _modifiedDate;
			return newVProductModelInstructions;
		}