Ejemplo n.º 1
0
        public UnitOfWork(HumanResourceContext db)
        {
            this.db = db;

            this.People       = new PersonRepository(db);
            this.PhoneNumbers = new PhoneNumberRepository(db);
        }
 public PhoneNumberRepository(HumanResourceContext db)
 {
     this.db = db;
 }
Ejemplo n.º 3
0
 public PersonRepository(HumanResourceContext db)
 {
     this.db = db;
 }