C# Class ServiceStack.OrmLite.OrmLiteConnectionFactory

Inheritance: IDbConnectionFactory
Exibir arquivo Open project: ServiceStack/ServiceStack.OrmLite Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CreateDbConnection ( ) : IDbConnection
OpenDbConnection ( ) : IDbConnection
OpenDbConnection ( string namedConnection ) : IDbConnection
OpenDbConnectionString ( string connectionString ) : IDbConnection
OpenDbConnectionString ( string connectionString, string providerName ) : IDbConnection
OrmLiteConnectionFactory ( ) : System
OrmLiteConnectionFactory ( string connectionString ) : System
OrmLiteConnectionFactory ( string connectionString, IOrmLiteDialectProvider dialectProvider ) : System
OrmLiteConnectionFactory ( string connectionString, IOrmLiteDialectProvider dialectProvider, bool setGlobalDialectProvider ) : System
RegisterConnection ( string namedConnection, OrmLiteConnectionFactory connectionFactory ) : void
RegisterConnection ( string namedConnection, string connectionString, IOrmLiteDialectProvider dialectProvider ) : void
RegisterDialectProvider ( string providerName, IOrmLiteDialectProvider dialectProvider ) : void

Method Details

CreateDbConnection() public method

public CreateDbConnection ( ) : IDbConnection
return IDbConnection

OpenDbConnection() public method

public OpenDbConnection ( ) : IDbConnection
return IDbConnection

OpenDbConnection() public method

public OpenDbConnection ( string namedConnection ) : IDbConnection
namedConnection string
return IDbConnection

OpenDbConnectionString() public method

public OpenDbConnectionString ( string connectionString ) : IDbConnection
connectionString string
return IDbConnection

OpenDbConnectionString() public method

public OpenDbConnectionString ( string connectionString, string providerName ) : IDbConnection
connectionString string
providerName string
return IDbConnection

OrmLiteConnectionFactory() public method

public OrmLiteConnectionFactory ( ) : System
return System

OrmLiteConnectionFactory() public method

public OrmLiteConnectionFactory ( string connectionString ) : System
connectionString string
return System

OrmLiteConnectionFactory() public method

public OrmLiteConnectionFactory ( string connectionString, IOrmLiteDialectProvider dialectProvider ) : System
connectionString string
dialectProvider IOrmLiteDialectProvider
return System

OrmLiteConnectionFactory() public method

public OrmLiteConnectionFactory ( string connectionString, IOrmLiteDialectProvider dialectProvider, bool setGlobalDialectProvider ) : System
connectionString string
dialectProvider IOrmLiteDialectProvider
setGlobalDialectProvider bool
return System

RegisterConnection() public method

public RegisterConnection ( string namedConnection, OrmLiteConnectionFactory connectionFactory ) : void
namedConnection string
connectionFactory OrmLiteConnectionFactory
return void

RegisterConnection() public method

public RegisterConnection ( string namedConnection, string connectionString, IOrmLiteDialectProvider dialectProvider ) : void
namedConnection string
connectionString string
dialectProvider IOrmLiteDialectProvider
return void

RegisterDialectProvider() public method

public RegisterDialectProvider ( string providerName, IOrmLiteDialectProvider dialectProvider ) : void
providerName string
dialectProvider IOrmLiteDialectProvider
return void