Testing.ProductCostHistory.CreateProductCostHistory C# (CSharp) Method

CreateProductCostHistory() public static method

Create a new ProductCostHistory object.
public static CreateProductCostHistory ( global productID, global startDate, global standardCost, global modifiedDate ) : ProductCostHistory
productID global Initial value of the ProductID property.
startDate global Initial value of the StartDate property.
standardCost global Initial value of the StandardCost property.
modifiedDate global Initial value of the ModifiedDate property.
return ProductCostHistory
        public static ProductCostHistory CreateProductCostHistory(global::System.Int32 productID, global::System.DateTime startDate, global::System.Decimal standardCost, global::System.DateTime modifiedDate)
        {
            ProductCostHistory productCostHistory = new ProductCostHistory();
            productCostHistory.ProductID = productID;
            productCostHistory.StartDate = startDate;
            productCostHistory.StandardCost = standardCost;
            productCostHistory.ModifiedDate = modifiedDate;
            return productCostHistory;
        }