internal OracleDataReader (OracleCommand command, OciStatementHandle statement, bool extHasRows ) { this.command = command; this.hasRows = extHasRows; this.isClosed = false; this.schemaTable = ConstructSchemaTable (); this.statement = statement; this.statementType = statement.GetStatementType (); }
internal OracleDataReader(OracleCommand command, OciStatementHandle statement, bool extHasRows, CommandBehavior behavior) { this.command = command; this.hasRows = extHasRows; this.schemaTable = ConstructSchemaTable(); this.statement = statement; this.statementType = statement.GetStatementType(); this.behavior = behavior; }
internal OracleDataReader (OracleCommand command, OciStatementHandle statement, bool extHasRows, CommandBehavior behavior) { this.command = command; this.hasRows = extHasRows; this.schemaTable = ConstructSchemaTable (); this.statement = statement; this.statementType = statement.GetStatementType (); this.behavior = behavior; }
private bool IsNonQuery(OciStatementHandle statementHandle) { // assumes Prepare() has been called prior to calling this function OciStatementType statementType = statementHandle.GetStatementType(); if (statementType.Equals(OciStatementType.Select)) { return(false); } return(true); }