Proprietà ObjectQuery.EnablePlanCaching
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Ottiene o imposta un valore che indica se il piano di query deve essere memorizzato nella cache.
Spazio dei nomi: System.Data.Entity.Core.Objects
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Property EnablePlanCaching As Boolean
Get
Set
'Utilizzo
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)
Valore proprietà
Tipo: System.Boolean
Valore che indica se il piano di query deve essere memorizzato nella cache.