Beispiel #1
0
 void LoadTreasury(int id)
 {
     using (SalesDataContext db = new SalesDataContext())
     {
         Treasury = db.treasurys.Single(x => x.id == id);
         GetData();
     }
 }
Beispiel #2
0
 public override void New()
 {
     Treasury = new treasurys();
     base.New();
 }