Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Community Additions

ADD
Show:
© 2015 Microsoft