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