public Repository(Employee emp, PMSAEntities ent)
 {
     this.emp     = emp;
     this.db      = ent;
     this.session = PurchaseOrderCreateSession.Current;
 }
Ejemplo n.º 2
0
 public PurchaseOrdersController()
 {
     db = new PMSAEntities();
     db.Database.Log = Console.Write;
     session         = PurchaseOrderCreateSession.Current;
 }
 public Repository(Employee emp)
 {
     this.emp     = emp;
     this.session = PurchaseOrderCreateSession.Current;
 }