Exemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="DbDriverGeneric" /> class.
 /// </summary>
 /// <param name="dbProviderFactoryManager">The database provider factory manager.</param>
 /// <param name="factoryName">Name of the factory.</param>
 /// <param name="isPositional">if set to <c>true</c> [is positional].</param>
 /// <param name="paramPrefix">The parameter prefix.</param>
 public DbDriverGeneric(
     DbProviderFactoryManager dbProviderFactoryManager,
     string factoryName,
     bool isPositional,
     string paramPrefix)
     : this(dbProviderFactoryManager.GetFactory(factoryName), isPositional, paramPrefix)
 {
     _dbProviderFactoryName = factoryName;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes the <see cref="DbDriverPgSQL"/> class.
 /// </summary>
 public DbDriverPgSQL(DbProviderFactoryManager dbProviderFactoryManager)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes the <see cref="DbDriverMySQL"/> class.
 /// </summary>
 public DbDriverMySQL(DbProviderFactoryManager dbProviderFactoryManager)
 {
     _dbProviderFactory = new MySqlClientFactory();
 }
Exemplo n.º 4
0
 /// <summary>
 ///     Initializes the <see cref="DbDriverGeneric" /> class.
 /// </summary>
 /// <param name="dbProviderFactoryManager">The database provider factory manager.</param>
 /// <param name="factoryName">Name of the factory.</param>
 public DbDriverGeneric(
     DbProviderFactoryManager dbProviderFactoryManager,
     string factoryName)
     : this(dbProviderFactoryManager, factoryName, false, "@")
 {
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes the <see cref="DbDriverSQLite"/> class.
 /// </summary>
 public DbDriverSQLite(DbProviderFactoryManager dbProviderFactoryManager)
 {
 }