SqlServerIndexExtensions.SetIncludeProperties Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
SetIncludeProperties(IMutableIndex, IReadOnlyList<String>) |
Imposta i nomi delle proprietà inclusi. |
SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean) |
Imposta i nomi delle proprietà inclusi. |
SetIncludeProperties(IMutableIndex, IReadOnlyList<String>)
Imposta i nomi delle proprietà inclusi.
public static void SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, System.Collections.Generic.IReadOnlyList<string> properties);
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * System.Collections.Generic.IReadOnlyList<string> -> unit
<Extension()>
Public Sub SetIncludeProperties (index As IMutableIndex, properties As IReadOnlyList(Of String))
Parametri
- index
- IMutableIndex
Indice.
- properties
- IReadOnlyList<String>
Il valore da impostare.
Si applica a
SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean)
Imposta i nomi delle proprietà inclusi.
public static void SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string> properties, bool fromDataAnnotation = false);
public static System.Collections.Generic.IReadOnlyList<string> SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string> properties, bool fromDataAnnotation = false);
public static System.Collections.Generic.IReadOnlyList<string>? SetIncludeProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, System.Collections.Generic.IReadOnlyList<string>? properties, bool fromDataAnnotation = false);
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * System.Collections.Generic.IReadOnlyList<string> * bool -> unit
static member SetIncludeProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * System.Collections.Generic.IReadOnlyList<string> * bool -> System.Collections.Generic.IReadOnlyList<string>
<Extension()>
Public Sub SetIncludeProperties (index As IConventionIndex, properties As IReadOnlyList(Of String), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIncludeProperties (index As IConventionIndex, properties As IReadOnlyList(Of String), Optional fromDataAnnotation As Boolean = false) As IReadOnlyList(Of String)
Parametri
- index
- IConventionIndex
Indice.
- properties
- IReadOnlyList<String>
Il valore da impostare.
- fromDataAnnotation
- Boolean
Indica se la configurazione è stata specificata usando un'annotazione dati.
Restituisce
Nomi di proprietà configurati.