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