Example #1
0
 public void Delete()
 {
     if (ProductTypeList.Contains(ProductTypeId))
     {
         ProductTypeList.GetProductTypeList().Remove(this);
     }
 }
Example #2
0
 public void Save()
 {
     _isNew  = false;
     IsDirty = false;
     if (!ProductTypeList.Contains(ProductTypeId))
     {
         ProductTypeList.GetProductTypeList().Add(this);
     }
 }
Example #3
0
 private static void BuildInstance()
 {
     _instance = new ProductTypeList();
     ResetData();
 }