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

ObjectQuery.EnablePlanCaching Property

Gets or sets a value that indicates whether the query plan should be cached.

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

public bool EnablePlanCaching { get; set; }

Property Value

Type: System.Boolean
A value that indicates whether the query plan should be cached.

For more information, see Query Plan Caching (Entity SQL).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft