protected void DoConstruction(string connectionString) { _Db = new WebDbDataContext(connectionString); if (!_Db.DatabaseExists()) { throw new RepositoryDoesNotExistException("WebshipAccountRepository.DatabaseExists returns false with the following connection string: " + _Db.Connection); } }
protected void DoConstruction(string connectionString) { _Db = new WebDbDataContext(connectionString); if (!_Db.DatabaseExists()) { // TODO, throw in .TOstring because this doesn't actually work right as it is throw new RepositoryDoesNotExistException("LsoIGroupRepository.DatabaseExists returns false with the following connection string: " + _Db.Connection); } }