Testing.ProductInventory.CreateProductInventory C# (CSharp) Method

CreateProductInventory() public static method

Create a new ProductInventory object.
public static CreateProductInventory ( global productID, global locationID, global shelf, global bin, global quantity, global rowguid, global modifiedDate ) : ProductInventory
productID global Initial value of the ProductID property.
locationID global Initial value of the LocationID property.
shelf global Initial value of the Shelf property.
bin global Initial value of the Bin property.
quantity global Initial value of the Quantity property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
return ProductInventory
        public static ProductInventory CreateProductInventory(global::System.Int32 productID, global::System.Int16 locationID, global::System.String shelf, global::System.Byte bin, global::System.Int16 quantity, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            ProductInventory productInventory = new ProductInventory();
            productInventory.ProductID = productID;
            productInventory.LocationID = locationID;
            productInventory.Shelf = shelf;
            productInventory.Bin = bin;
            productInventory.Quantity = quantity;
            productInventory.rowguid = rowguid;
            productInventory.ModifiedDate = modifiedDate;
            return productInventory;
        }