- private readonly IConfiguration _configuration;
- private readonly string _connectionString;
- private IConfiguration configuration;
- public SpeakerDbHandler(IConfiguration configuration)
- {
- _configuration = configuration;
- _connectionString = _configuration.GetConnectionString("DefaultConnection");
- }
- "ConnectionStrings": {
- "DefaultConnection": "Server=192.168.0.133;Database=WisperSpeaker;Trusted_Connection=False;MultipleActiveResultSets=true;User ID=sa;Password=Delf@n2023"
- },
Recent Pastes