Export (0) Print
Expand All

EntityDataReader Methods

The EntityDataReader type exposes the following members.

  NameDescription
Public method Close Closes the EntityDataReader object. (Overrides DbDataReader.Close().)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose Overloaded. Releases the resources consumed by this EntityDataReader and calls Close.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBoolean Gets the value of the specified column as a Boolean. (Overrides DbDataReader.GetBoolean(Int32).)
Public method GetByte Gets the value of the specified column as a byte. (Overrides DbDataReader.GetByte(Int32).)
Public method GetBytes Reads a stream of bytes from the specified column, starting at location indicated by dataIndex, into the buffer, starting at the location indicated by bufferIndex. (Overrides DbDataReader.GetBytes(Int32, Int64, Byte[], Int32, Int32).)
Public method GetChar Gets the value of the specified column as a single character. (Overrides DbDataReader.GetChar(Int32).)
Public method GetChars Reads a stream of characters from the specified column, starting at location indicated by dataIndex, into the buffer, starting at the location indicated by bufferIndex. (Overrides DbDataReader.GetChars(Int32, Int64, Char[], Int32, Int32).)
Public method GetData Returns a DbDataReader object for the requested column ordinal. (Inherited from DbDataReader.)
Public method GetDataReader Returns nested readers as DbDataReader objects.
Public method GetDataRecord Returns a nested DbDataRecord.
Public method GetDataTypeName Gets name of the data type of the specified column. (Overrides DbDataReader.GetDataTypeName(Int32).)
Public method GetDateTime Gets the value of the specified column as a DateTime object. (Overrides DbDataReader.GetDateTime(Int32).)
Protected method GetDbDataReader Returns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation. (Overrides DbDataReader.GetDbDataReader(Int32).)
Public method GetDecimal Gets the value of the specified column as a Decimal object. (Overrides DbDataReader.GetDecimal(Int32).)
Public method GetDouble Gets the value of the specified column as a double-precision floating point number. (Overrides DbDataReader.GetDouble(Int32).)
Public method GetEnumerator Returns an IEnumerator that can be used to iterate through the rows in the data reader. (Overrides DbDataReader.GetEnumerator().)
Public method GetFieldType Gets the data type of the specified column. (Overrides DbDataReader.GetFieldType(Int32).)
Public method GetFloat Gets the value of the specified column as a single-precision floating point number. (Overrides DbDataReader.GetFloat(Int32).)
Public method GetGuid Gets the value of the specified column as a globally-unique identifier (GUID). (Overrides DbDataReader.GetGuid(Int32).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetInt16 Gets the value of the specified column as a 16-bit signed integer. (Overrides DbDataReader.GetInt16(Int32).)
Public method GetInt32 Gets the value of the specified column as a 32-bit signed integer. (Overrides DbDataReader.GetInt32(Int32).)
Public method GetInt64 Gets the value of the specified column as a 64-bit signed integer. (Overrides DbDataReader.GetInt64(Int32).)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetName Gets the name of the column, given the zero-based column ordinal. (Overrides DbDataReader.GetName(Int32).)
Public method GetOrdinal Gets the column ordinal given the name of the column. (Overrides DbDataReader.GetOrdinal(String).)
Public method GetProviderSpecificFieldType Returns the provider-specific field type of the specified column. (Overrides DbDataReader.GetProviderSpecificFieldType(Int32).)
Public method GetProviderSpecificValue Gets the value of the specified column as an instance of Object. (Overrides DbDataReader.GetProviderSpecificValue(Int32).)
Public method GetProviderSpecificValues Gets all provider-specific attribute columns in the collection for the current row. (Overrides DbDataReader.GetProviderSpecificValues(Object[]).)
Public method GetSchemaTable Returns a DataTable that describes the column metadata of the DbDataReader. (Overrides DbDataReader.GetSchemaTable().)
Public method GetString Gets the value of the specified column as an instance of String. (Overrides DbDataReader.GetString(Int32).)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method GetValue Gets the value of the specified column as an instance of Object. (Overrides DbDataReader.GetValue(Int32).)
Public method GetValues Gets all attribute columns in the collection for the current row. (Overrides DbDataReader.GetValues(Object[]).)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method IsDBNull Gets a value that indicates whether the column contains nonexistent or missing values. (Overrides DbDataReader.IsDBNull(Int32).)
Protected method MemberwiseClone Overloaded.
Public method NextResult Advances the reader to the next result when reading the results of a batch of statements. (Overrides DbDataReader.NextResult().)
Public method Read Advances the reader to the next record in a result set. (Overrides DbDataReader.Read().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetation Private method IDataRecord.GetData For a description of this member, see IDataRecord.GetData. (Inherited from DbDataReader.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft