Beispiel #1
0
 public void Create()
 {
     if (RetrieveByName(this.name).Count == 0)
     {
         MTypeDAL.Create(this);
     }
 }
Beispiel #2
0
 public static ObservableCollection <MType> RetrieveById(long id)
 {
     return(MTypeDAL.RetrieveById(id));
 }
Beispiel #3
0
 public static ObservableCollection <MType> RetrieveByName(string name)
 {
     return(MTypeDAL.RetrieveByName(name));
 }
Beispiel #4
0
 public static ObservableCollection <MType> RetrieveAll()
 {
     return(MTypeDAL.RetrieveAll());
 }
Beispiel #5
0
 public void Delete()
 {
     MTypeDAL.Delete(this);
 }
Beispiel #6
0
 public void Update()
 {
     MTypeDAL.Update(this);
 }
Beispiel #7
0
 public static void CreateTable()
 {
     MTypeDAL.CreateTable();
 }