/// <summary> /// Initializes a new instance of the <see cref="DynamicDatabase"/> class. /// </summary> /// <param name="dialect">The dialect.</param> /// <param name="connectionString">Database connection string</param> /// <param name="providerName">Invariant name of the database provider</param> public DynamicDatabase(DatabaseDialect dialect, string connectionString, string providerName) : this(connectionString, providerName, new[] {new ConstantDialectDetector(dialect)}) { }
public ConstantDialectDetector(DatabaseDialect dialect) { this.dialect = dialect ?? new DatabaseDialect(); }