コード例 #1
0
ファイル: UnitOfWork.cs プロジェクト: spratmannc/TDD.Database
        public UnitOfWork(HumanResourceContext db)
        {
            this.db = db;

            this.People       = new PersonRepository(db);
            this.PhoneNumbers = new PhoneNumberRepository(db);
        }
コード例 #2
0
 public PhoneNumberRepository(HumanResourceContext db)
 {
     this.db = db;
 }
コード例 #3
0
 public PersonRepository(HumanResourceContext db)
 {
     this.db = db;
 }