C# Class MicroLite.Configuration.FluentConfiguration

The class used to configure the MicroLite ORM framework using the fluent API.
Inheritance: IConfigureConnection, ICreateSessionFactory
ファイルを表示 Open project: TrevorPilley/MicroLite Class Usage Examples

Public Methods

Method Description
CreateSessionFactory ( ) : ISessionFactory
ForConnection ( string connectionName, ISqlDialect sqlDialect, IDbDriver dbDriver ) : ICreateSessionFactory
ForConnection ( string connectionName, string connectionString, string providerName, ISqlDialect sqlDialect, IDbDriver dbDriver ) : ICreateSessionFactory

Private Methods

Method Description
FluentConfiguration ( ISessionFactory>.Func sessionFactoryCreated ) : System

Method Details

CreateSessionFactory() public method

public CreateSessionFactory ( ) : ISessionFactory
return ISessionFactory

ForConnection() public method

public ForConnection ( string connectionName, ISqlDialect sqlDialect, IDbDriver dbDriver ) : ICreateSessionFactory
connectionName string
sqlDialect ISqlDialect
dbDriver IDbDriver
return ICreateSessionFactory

ForConnection() public method

public ForConnection ( string connectionName, string connectionString, string providerName, ISqlDialect sqlDialect, IDbDriver dbDriver ) : ICreateSessionFactory
connectionName string
connectionString string
providerName string
sqlDialect ISqlDialect
dbDriver IDbDriver
return ICreateSessionFactory