SqlServerIndexExtensions.SetIncludeProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetIncludeProperties(IMutableIndex, IReadOnlyList<String>) |
Sets included property names. |
SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean) |
Sets included property names. |
SetIncludeProperties(IMutableIndex, IReadOnlyList<String>)
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
Sets included property names.
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))
Parameters
- index
- IMutableIndex
The index.
- properties
- IReadOnlyList<String>
The value to set.
Applies to
SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean)
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
- Source:
- SqlServerIndexExtensions.cs
Sets included property names.
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)
Parameters
- index
- IConventionIndex
The index.
- properties
- IReadOnlyList<String>
The value to set.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured property names.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework