C# Class Habanero.DB.DatabaseConnectionFirebird

A super-class to manage a database connection and execute sql commands
Inheritance: DatabaseConnection
Mostra file Open project: Chillisoft/habanero Class Usage Examples

Public Methods

Method Description
CreateParameterNameGenerator ( ) : IParameterNameGenerator

Creates an IParameterNameGenerator for this database connection. This is used to create names for parameters added to an ISqlStatement because each database uses a different naming convention for their parameters.

DatabaseConnectionFirebird ( string assemblyName, string className ) : Habanero.Base

Constructor that allows an assembly name and class name to be specified

DatabaseConnectionFirebird ( string assemblyName, string className, string connectString ) : Habanero.Base

Constructor to initialise the connection object with an assembly name, class name and connection string

Private Methods

Method Description
SetupSqlFormatter ( ) : void

Method Details

CreateParameterNameGenerator() public method

Creates an IParameterNameGenerator for this database connection. This is used to create names for parameters added to an ISqlStatement because each database uses a different naming convention for their parameters.
public CreateParameterNameGenerator ( ) : IParameterNameGenerator
return IParameterNameGenerator

DatabaseConnectionFirebird() public method

Constructor that allows an assembly name and class name to be specified
public DatabaseConnectionFirebird ( string assemblyName, string className ) : Habanero.Base
assemblyName string The assembly name
className string The database class name
return Habanero.Base

DatabaseConnectionFirebird() public method

Constructor to initialise the connection object with an assembly name, class name and connection string
public DatabaseConnectionFirebird ( string assemblyName, string className, string connectString ) : Habanero.Base
assemblyName string The assembly name
className string The class name
connectString string The connection string, which can be /// generated using ConnectionStringMySqlFactory.CreateConnectionString() ///
return Habanero.Base