Вопрос по .net, sql-server, c# – Класс .NET SqlConnection, логика пула соединений и переподключения

8

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

// Is this bad/inefficient?
for(many-times)
{
    using(SQLConnection conn = new SQLConnection(connectionString))
    {
        // do stuff with conn
    }
}

Error: User Rate Limit ExceedednotError: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

The database is taken offline and brought back online, but the client process had no open transactions while this was happening The database was "disconnected", then "reconnected"

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded

Ваш Ответ

3   ответа
1

using(SQLConnection conn = new SQLConnection(connectionString))
{
    // do stuff with conn
}

20

SqlConnectionPooling=false

Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded Paul Hollingsworth
Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded
2

Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded

Похожие вопросы