public DrdaImmediateStatement( DrdaConnection connection, String sqlStatement) { _sqlStatement = sqlStatement; _connection = connection; }
public QueryContext( DrdaConnection connection, Boolean hasParameters) { HasParameters = hasParameters; PackageSerialNumber = connection.GetNextPackageSerialNumber(); }
public DrdaPreparedStatement( DrdaConnection connection, String sqlStatement) { _sqlStatement = sqlStatement; _connection = connection; _context = new QueryContext( _connection, _sqlStatement.Contains("?")); _isPackagePreparedSuccessfully = PreparePackage (_connection.GetStream(), _connection.GetNextRequestCorrelationId()); }