Table of Contents

Interface IDataConfiguration

Namespace
FluentCommand
Assembly
FluentCommand.dll

An interface for database configuration

public interface IDataConfiguration : IDataSessionFactory
Inherited Members

Properties

ConnectionString

Gets the database connection string.

string ConnectionString { get; }

Property Value

string

The connection string.

DataCache

Gets the data cache manager.

IDataCache DataCache { get; }

Property Value

IDataCache

The data cache manager.

ProviderFactory

Gets the database provider factory.

DbProviderFactory ProviderFactory { get; }

Property Value

DbProviderFactory

The provider factory.

QueryGenerator

Gets the query generator provider.

IQueryGenerator QueryGenerator { get; }

Property Value

IQueryGenerator

The query generator provider.

QueryLogger

Gets the data command query logger.

IDataQueryLogger QueryLogger { get; }

Property Value

IDataQueryLogger

The data command query logger.

Methods

CreateConnection(string)

Creates a new DbConnection instance from this database configuration.

DbConnection CreateConnection(string connectionString = null)

Parameters

connectionString string

Returns

DbConnection
The connection string to use for the session. If connectionString is null, ConnectionString will be used. A new DbConnection instance.