Delegate TransactionScope.ConnectionDelegate
The delegate use to create database connection objects.
Assembly: Mediachase.DataProvider.dll
Version: 13.30.0
public delegate IDbConnection ConnectionDelegate();
Returns
Type |
Description |
System.Data.IDbConnection |
A database connection.
|
Constructors
Declaration
public ConnectionDelegate(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
Declaration
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
Declaration
public virtual IDbConnection EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Returns
Type |
Description |
System.Data.IDbConnection |
|
Declaration
public virtual IDbConnection Invoke()
Returns
Type |
Description |
System.Data.IDbConnection |
|