ConnectionProvider Class
Assembly: CodeEffects.Rule.Connection.SqlServer.dll
Namespace: CodeEffects.Rule.Connection.SqlServer
Summary
The ready-made IConnectionProvider for SQL Server: it creates a SqlConnection for a connection string. The DbProvider of this namespace creates one for you, so you use this class directly only in a provider of your own.
Syntax
public class ConnectionProvider : IConnectionProvider
Every call returns a new, unopened connection; the libraries open and dispose it. The class is safe to call from several threads. The connection comes from Microsoft.Data.SqlClient.
Constructors
Properties
Methods