public AccountController() { UserSql userSql = new UserSql(base.WebDbSqlConnectionString); PersonSql personSql = new PersonSql(base.WebDbSqlConnectionString); this.UserManager = new UserManager(userSql); this.PersonManager = new PersonManager(personSql); }
public PeopleSearchingController() { ResearchRoommateSql researchRoommateSql = new ResearchRoommateSql(base.WebDbSqlConnectionString); this.researchRoommateManager = new ResearchRoommateManager(researchRoommateSql); PlaceSql placeSql = new PlaceSql(base.WebDbSqlConnectionString); this.placeManager = new PlaceManager(placeSql); PersonSql personSql = new PersonSql(base.WebDbSqlConnectionString); this.personManager = new PersonManager(personSql); }
public PersonController(PersonContent context, PersonSql personSql) { _personSql = personSql; _context = context; }
private void InitData() { this.PersonSql = null; }
// 'PersonSql' public PersonManager(PersonSql poPersonSql) // 'PersonSql' : this() { this.PersonSql = poPersonSql; }