Click or drag to resize
DapperBaseOpenConnection Method
Opens a connection that to the SQL server using the connection string provided

Namespace: RMP.WCF.Model
Assembly: RMP.WCF.Model (in RMP.WCF.Model.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public IDbConnection OpenConnection(
	string connectionString
)

Parameters

connectionString
Type: SystemString
Connection string to the SQL Server

Return Value

Type: IDbConnection
The opened IDbConnection
Examples
Using connection As IDbConnection = OpenConnection(_ConnectionString)
    'Do Something with the connection
    'Connection is closed and disposed after leaving the Using
End Using
See Also