public static Category CreateCategory(global::System.Int32 categoryID, global::System.String categoryName) { Category category = new Category(); category.CategoryID = categoryID; category.CategoryName = categoryName; return category; }