C# Class Habanero.DB.DatabaseConnectionFirebird

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

Méthodes publiques

Méthode 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

Méthode Description
SetupSqlFormatter ( ) : void

Method Details

CreateParameterNameGenerator() public méthode

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
Résultat IParameterNameGenerator

DatabaseConnectionFirebird() public méthode

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
Résultat Habanero.Base

DatabaseConnectionFirebird() public méthode

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() ///
Résultat Habanero.Base