コード例 #1
0
        private readonly PersonListDbContext _personListDbContext;          // Dependency of injection

        public CountryRepo(PersonListDbContext personListDbContext)         // This is the connection to the database
        {
            this._personListDbContext = personListDbContext;
        }
コード例 #2
0
 public PersonGroupRepo(PersonListDbContext personListDbContext)
 {
     this._personListDbContext = personListDbContext;
 }
コード例 #3
0
 public PersonLanguageRepo(PersonListDbContext personListDbContext)
 {
     _personListDbContext = personListDbContext;
 }
コード例 #4
0
        private readonly PersonListDbContext personListDbContext;           // Dependency of injection

        public PeopleRepo(PersonListDbContext personListDbContext)          // This is the connection to the database
        {
            this.personListDbContext = personListDbContext;
        }