Delegate TransactionScope.ConnectionDelegate

The delegate use to create database connection objects.

Namespace: Mediachase.Data.Provider
Assembly: Mediachase.DataProvider.dll
Version: 10.8.0
Syntax
public delegate IDbConnection ConnectionDelegate();
Returns
Type Description
System.Data.IDbConnection

A database connection.

Constructors

ConnectionDelegate(Object, IntPtr)

Declaration
public ConnectionDelegate(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object object)
Parameters
Type Name Description
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual IDbConnection EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
System.Data.IDbConnection

Invoke()

Declaration
public virtual IDbConnection Invoke()
Returns
Type Description
System.Data.IDbConnection