RuntimeEntityType.IEntityType.FindIndex 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
IEntityType.FindIndex(String) |
Gets the index with the given name. Returns |
IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>) |
Gets the unnamed index defined on the given properties. Returns |
IEntityType.FindIndex(String)
Gets the index with the given name. Returns null
if no such index exists.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex? IEntityType.FindIndex (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex IEntityType.FindIndex (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Function FindIndex (name As String) As IIndex Implements IEntityType.FindIndex
Parameters
- name
- String
The name of the index.
Returns
The index, or null
if none is found.
Implements
- Attributes
Applies to
IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)
Gets the unnamed index defined on the given properties. Returns null
if no such index is defined.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex? IEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex IEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IIndex Implements IEntityType.FindIndex
Parameters
- properties
- IReadOnlyList<IReadOnlyProperty>
The properties to find the index on.
Returns
The index, or null
if none is found.
Implements
- Attributes
Applies to
Entity Framework