예제 #1
0
 public void Delete()
 {
     if (ModelList.Contains(ModelId))
     {
         ModelList.GetModelList().Remove(this);
     }
 }
예제 #2
0
 public void Save()
 {
     if (!ModelList.Contains(ModelId))
     {
         ModelList.GetModelList().Add(this);
         IsNew = false;
     }
 }
예제 #3
0
 private static void BuildInstance()
 {
     _instance = new ModelList();
     ResetData();
 }