ObjectQuery.EnablePlanCaching, propriété
[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]
Obtient ou définit une valeur qui indique si le plan de requête doit être mis en cache.
Espace de noms : System.Data.Entity.Core.Objects
Assembly : EntityFramework (dans EntityFramework.dll)
Syntaxe
'Déclaration
Public Property EnablePlanCaching As Boolean
Get
Set
'Utilisation
Dim instance As ObjectQuery
Dim value As Boolean
value = instance.EnablePlanCaching
instance.EnablePlanCaching = value
public bool EnablePlanCaching { get; set; }
public:
property bool EnablePlanCaching {
bool get ();
void set (bool value);
}
member EnablePlanCaching : bool with get, set
function get EnablePlanCaching () : boolean
function set EnablePlanCaching (value : boolean)
Valeur de propriété
Type : System.Boolean
Valeur qui indique si le plan de requête doit être mis en cache.