public OrmLiteVistaDbCommand(OrmLiteVistaDbConnection connectionWrapper, IDbCommand vistaDbCommand) { if (connectionWrapper == null) throw new ArgumentNullException("connectionWrapper"); if (vistaDbCommand == null) throw new ArgumentNullException("vistaDbCommand"); this.connectionWrapper = connectionWrapper; this.VistaDbCommand = vistaDbCommand; this.Parameters = new OrmLiteVistaDbParameterCollection(vistaDbCommand.Parameters); }
public OrmLiteVistaDbTransaction(OrmLiteVistaDbConnection connectionWrapper, IDbTransaction transaction) { if (connectionWrapper == null) throw new ArgumentNullException("connectionWrapper"); if (transaction == null) throw new ArgumentNullException("transaction"); finalized = disposed = false; this.Connection = connectionWrapper; this.VistaDbTransaction = transaction; }
public OrmLiteVistaDbCommand(OrmLiteVistaDbConnection connectionWrapper, IDbCommand vistaDbCommand) { if (connectionWrapper == null) { throw new ArgumentNullException("connectionWrapper"); } if (vistaDbCommand == null) { throw new ArgumentNullException("vistaDbCommand"); } _connectionWrapper = connectionWrapper; this.VistaDbCommand = vistaDbCommand; }
public OrmLiteVistaDbTransaction(OrmLiteVistaDbConnection connectionWrapper, IDbTransaction transaction) { if (connectionWrapper == null) { throw new ArgumentNullException("connectionWrapper"); } if (transaction == null) { throw new ArgumentNullException("transaction"); } _finalized = _disposed = false; this.Connection = connectionWrapper; this.VistaDbTransaction = transaction; }
public OrmLiteVistaDbCommand(OrmLiteVistaDbConnection connectionWrapper, IDbCommand vistaDbCommand) { if (connectionWrapper == null) { throw new ArgumentNullException("connectionWrapper"); } if (vistaDbCommand == null) { throw new ArgumentNullException("vistaDbCommand"); } this.connectionWrapper = connectionWrapper; this.VistaDbCommand = vistaDbCommand; this.Parameters = new OrmLiteVistaDbParameterCollection(vistaDbCommand.Parameters); }