This documentation is archived and is not being maintained.

EntityCommand.ExecuteReader Method

Executes the command and returns a data reader.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ExecuteReader() Executes the command and returns a EntityDataReader.
Public method ExecuteReader(CommandBehavior) Compiles the CommandText into a command tree and passes it to the underlying store provider for execution. Then builds an EntityDataReader out of the produced result set using the specified CommandBehavior.
Top
Show: