EntityCommand.ExecuteReader Method
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Executes the command and returns a data reader.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Name | Description | |
---|---|---|
![]() | ExecuteReader() | Executes the command and returns a data reader. |
![]() | 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. |
Show: