Export (0) Print
Expand All

DbQuery.ToString Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Returns a String representation of the underlying query.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public override string ToString()

Return Value

Type: System.String
The query string.
Show:
© 2014 Microsoft