VideoRentalService.category.Createcategory C# (CSharp) 메소드

Createcategory() 공개 정적인 메소드

Create a new category object.
public static Createcategory ( global category_id, global name, global last_update ) : category
category_id global Initial value of the category_id property.
name global Initial value of the name property.
last_update global Initial value of the last_update property.
리턴 category
        public static category Createcategory(global::System.Byte category_id, global::System.String name, global::System.DateTime last_update)
        {
            category category = new category();
            category.category_id = category_id;
            category.name = name;
            category.last_update = last_update;
            return category;
        }