예제 #1
0
 public static Category CreateCategory(int categoryID, string categoryName)
 {
     Category category = new Category();
     category.CategoryID = categoryID;
     category.CategoryName = categoryName;
     return category;
 }
예제 #2
0
 public void AddToCategories(Category category)
 {
     base.AddObject("Categories", category);
 }