Exemplo n.º 1
0
 public void AddToCategories(Category category)
 {
     base.AddObject("Categories", category);
 }
Exemplo n.º 2
0
 // Method does not fire NotifyPropertyChanged
 public void SetCategorySilent(Category ct)
 {
     this._Category = ct;
     this._CategoryId = ct != null ? ct.Id : 0;
 }
Exemplo n.º 3
0
 public static Category CreateCategory(int ID, string name)
 {
     Category category = new Category();
     category.Id = ID;
     category.Name = name;
     return category;
 }