C# Class SqlFu.DbFactory

Inheritance: IDbFactory
ファイルを表示 Open project: sapiens/SqlFu

Public Methods

Method Description
Create ( DbConnection db = null ) : DbConnection
CreateAsync ( CancellationToken cancel, DbConnection db = null ) : Task
DbFactory ( DbAccessProfile profile ) : System.Data.Common

Protected Methods

Method Description
DbFactory ( ) : System.Data.Common

Private Methods

Method Description
Assign ( DbAccessProfile profile ) : void

Method Details

Create() public method

public Create ( DbConnection db = null ) : DbConnection
db System.Data.Common.DbConnection
return System.Data.Common.DbConnection

CreateAsync() public method

public CreateAsync ( CancellationToken cancel, DbConnection db = null ) : Task
cancel System.Threading.CancellationToken
db System.Data.Common.DbConnection
return Task

DbFactory() protected method

protected DbFactory ( ) : System.Data.Common
return System.Data.Common

DbFactory() public method

public DbFactory ( DbAccessProfile profile ) : System.Data.Common
profile SqlFu.Configuration.DbAccessProfile
return System.Data.Common