EntityCommand.ExecuteReader Method ()


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.

Namespace:   System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public EntityDataReader ExecuteReader()

Return Value

Type: System.Data.EntityClient.EntityDataReader

The EntityDataReader that contains the results.

.NET Framework
Available since 3.5
Return to top