Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public MsSqlDialect(ISqlExporter exporter)
 {
     this.exporter = exporter;
 }