C# Класс MicroLite.Configuration.FluentConfiguration

The class used to configure the MicroLite ORM framework using the fluent API.
Наследование: IConfigureConnection, ICreateSessionFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateSessionFactory ( ) : ISessionFactory
ForConnection ( string connectionName, ISqlDialect sqlDialect, IDbDriver dbDriver ) : ICreateSessionFactory
ForConnection ( string connectionName, string connectionString, string providerName, ISqlDialect sqlDialect, IDbDriver dbDriver ) : ICreateSessionFactory

Приватные методы

Метод Описание
FluentConfiguration ( ISessionFactory>.Func sessionFactoryCreated ) : System

Описание методов

CreateSessionFactory() публичный Метод

public CreateSessionFactory ( ) : ISessionFactory
Результат ISessionFactory

ForConnection() публичный Метод

public ForConnection ( string connectionName, ISqlDialect sqlDialect, IDbDriver dbDriver ) : ICreateSessionFactory
connectionName string
sqlDialect ISqlDialect
dbDriver IDbDriver
Результат ICreateSessionFactory

ForConnection() публичный Метод

public ForConnection ( string connectionName, string connectionString, string providerName, ISqlDialect sqlDialect, IDbDriver dbDriver ) : ICreateSessionFactory
connectionName string
connectionString string
providerName string
sqlDialect ISqlDialect
dbDriver IDbDriver
Результат ICreateSessionFactory