internal VistaDBDataReader(VistaDBSQLQuery query, bool fillData, VistaDBConnection connection) { this.query = query; this.vistaDBConnection = connection; this.rowsAffected = this.query.RowsAffected; this.rowCount = this.query.RecordCount; this.columns = new VistaDBColumnCollection(this); }
public VistaDBSQLQuery(VistaDBSQLConnection p) { rowsAffected = 0; recordCount = 0; commandText = ""; columnCount = 0; password = ""; errorNumber = 0; parent = p; opened = false; Columns = new VistaDBColumnCollection(this); }
internal VistaDBSQLQuery(VistaDBSQL p) { rowsAffected = 0; sqlID = 0; queryID = 0; recordCount = 0; commandText = ""; columnCount = 0; password = ""; errorNumber = 0; parent = p; opened = false; Columns = new VistaDBColumnCollection(this); queryID = VistaDBAPI.ivsql_CreateQuery(p.ConnectionID); }
/// <summary> /// Releases the resources used by the component. /// </summary> public void Dispose() { this.columns = null; this.vistaDBConnection = null; Close(); }