Testing.ProductCategory.CreateProductCategory C# (CSharp) Method

CreateProductCategory() public static method

Create a new ProductCategory object.
public static CreateProductCategory ( global productCategoryID, global name, global rowguid, global modifiedDate ) : ProductCategory
productCategoryID global Initial value of the ProductCategoryID property.
name global Initial value of the Name property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
return ProductCategory
        public static ProductCategory CreateProductCategory(global::System.Int32 productCategoryID, global::System.String name, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            ProductCategory productCategory = new ProductCategory();
            productCategory.ProductCategoryID = productCategoryID;
            productCategory.Name = name;
            productCategory.rowguid = rowguid;
            productCategory.ModifiedDate = modifiedDate;
            return productCategory;
        }