Is it possible to simply bypasse .net in a c# program and simply have this kind of performance ?
Is this is juste a change in the connection in order to use this provider, or its something more complexe ?
Success: Provider=SQLOLEDB;Data Source=::1;Integrated Security=SSPI Elapsed: 00:00:00.0015378
Here is how we do it now: SqlCommand command = new SqlCommand(queryString, connection); connection.Open();
SqlDataReader reader = command.ExecuteReader();
// Call Read before accessing data.
while (reader.Read())
{
...
}
// Call Close when done reading.
reader.Close();
Here is the connection string: Server=...;Database=...;Uid=...;Pwd=...;Encrypt=True;TrustServerCertificate = true;Asynchronous Processing=true;MultipleActiveResultSets=True