Testing.ProductVendor.CreateProductVendor C# (CSharp) Method

CreateProductVendor() public static method

Create a new ProductVendor object.
public static CreateProductVendor ( global productID, global vendorID, global averageLeadTime, global standardPrice, global minOrderQty, global maxOrderQty, global unitMeasureCode, global modifiedDate ) : ProductVendor
productID global Initial value of the ProductID property.
vendorID global Initial value of the VendorID property.
averageLeadTime global Initial value of the AverageLeadTime property.
standardPrice global Initial value of the StandardPrice property.
minOrderQty global Initial value of the MinOrderQty property.
maxOrderQty global Initial value of the MaxOrderQty property.
unitMeasureCode global Initial value of the UnitMeasureCode property.
modifiedDate global Initial value of the ModifiedDate property.
return ProductVendor
        public static ProductVendor CreateProductVendor(global::System.Int32 productID, global::System.Int32 vendorID, global::System.Int32 averageLeadTime, global::System.Decimal standardPrice, global::System.Int32 minOrderQty, global::System.Int32 maxOrderQty, global::System.String unitMeasureCode, global::System.DateTime modifiedDate)
        {
            ProductVendor productVendor = new ProductVendor();
            productVendor.ProductID = productID;
            productVendor.VendorID = vendorID;
            productVendor.AverageLeadTime = averageLeadTime;
            productVendor.StandardPrice = standardPrice;
            productVendor.MinOrderQty = minOrderQty;
            productVendor.MaxOrderQty = maxOrderQty;
            productVendor.UnitMeasureCode = unitMeasureCode;
            productVendor.ModifiedDate = modifiedDate;
            return productVendor;
        }