C# Class Contrive.Common.Data.ConnectionProvider

Show file Open project: alanstevens/Contrive

Public Properties

Property Type Description
NewConnection IDbConnection>.Func

Public Methods

Method Description
GetConnection ( ) : IDbConnection

Method Details

GetConnection() public static method

public static GetConnection ( ) : IDbConnection
return IDbConnection

Property Details

NewConnection public static property

This delegate must be populated at application startup using an IStartupTask or some other means This abstraction enables the client app to use any ADO.NET data provider: http://msdn.microsoft.com/en-us/data/dd363565.aspx
public static Func NewConnection
return IDbConnection>.Func