Testing.ProductCategory.CreateProductCategory C# (CSharp) 메소드

CreateProductCategory() 공개 정적인 메소드

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.
리턴 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;
        }