SqlServerIndexExtensions.SetIncludeProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetIncludeProperties(IMutableIndex, IReadOnlyList<String>) |
设置包含的属性名称。 |
SetIncludeProperties(IConventionIndex, IReadOnlyList<String>, Boolean) |
设置包含的属性名称。 |
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
设置包含的属性名称。
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))
参数
- index
- IMutableIndex
索引。
- properties
- IReadOnlyList<String>
要设置的值。
适用于
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
设置包含的属性名称。
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)
参数
- index
- IConventionIndex
索引。
- properties
- IReadOnlyList<String>
要设置的值。
- fromDataAnnotation
- Boolean
指示配置是否是使用数据注释指定的。
返回
配置的属性名称。