コード例 #1
0
ファイル: Reference.cs プロジェクト: JohanOtto/Nova
 public void AddToCategories(Category category)
 {
     base.AddObject("Categories", category);
 }
コード例 #2
0
ファイル: Customer.cs プロジェクト: JohanOtto/Nova
 // Method does not fire NotifyPropertyChanged
 public void SetCategorySilent(Category ct)
 {
     this._Category = ct;
     this._CategoryId = ct != null ? ct.Id : 0;
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: JohanOtto/Nova
 public static Category CreateCategory(int ID, string name)
 {
     Category category = new Category();
     category.Id = ID;
     category.Name = name;
     return category;
 }