public SqDatabase(TConnection connection, Func <TConnection, string, DbCommand> commandFactory, ISqlExporter sqlExporter, bool disposeConnection = false) { this._connection = connection; this._commandFactory = commandFactory; this._sqlExporter = sqlExporter; this._disposeConnection = disposeConnection; this._wasClosed = this._connection.State == ConnectionState.Closed; }
public MsSqlDialect(ISqlExporter exporter) { this.exporter = exporter; }