Esempio n. 1
0
 public void Delete()
 {
     if (BrandList.Contains(BrandId))
     {
         BrandList.GetBrandList().Remove(this);
     }
 }
Esempio n. 2
0
 public void Save()
 {
     _isNew  = false;
     IsDirty = false;
     if (!BrandList.Contains(BrandId))
     {
         BrandList.GetBrandList().Add(this);
     }
 }
Esempio n. 3
0
 private static void BuildInstance()
 {
     Instance = new BrandList();
     ResetData();
 }