Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
ObjectQuery.EnablePlanCaching Property
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

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

Visual Basic
Public Property EnablePlanCaching As Boolean
C#
public bool EnablePlanCaching { get; set; }
C++
public:
property bool EnablePlanCaching {
    bool get ();
    void set (bool value);
}
J#
/** @property */
public boolean get_EnablePlanCaching ()

/** @property */
public void set_EnablePlanCaching (boolean value)
JScript
public function get EnablePlanCaching () : boolean

public function set EnablePlanCaching (value : boolean)

Property Value

A value indicating whether the query plan should be cached.

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98, Windows 2000 SP4, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Professional
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker