Поделиться через


RuntimeEntityType.IReadOnlyEntityType.FindIndex Метод

Определение

Перегрузки

IReadOnlyEntityType.FindIndex(String)

Возвращает индекс с заданным именем. Возвращает значение , null если такой индекс не существует.

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

Возвращает неименованный индекс, определенный для заданных свойств. Возвращает значение null , если такой индекс не определен.

IReadOnlyEntityType.FindIndex(String)

Возвращает индекс с заданным именем. Возвращает значение , null если такой индекс не существует.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? IReadOnlyEntityType.FindIndex (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex IReadOnlyEntityType.FindIndex (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
Function FindIndex (name As String) As IReadOnlyIndex Implements IReadOnlyEntityType.FindIndex

Параметры

name
String

Имя искать индекс.

Возвращаемое значение

Индекс или null значение , если он не найден.

Реализации

Атрибуты

Применяется к

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

Возвращает неименованный индекс, определенный для заданных свойств. Возвращает значение null , если такой индекс не определен.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? IReadOnlyEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex IReadOnlyEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IReadOnlyIndex Implements IReadOnlyEntityType.FindIndex

Параметры

properties
IReadOnlyList<IReadOnlyProperty>

Свойства для поиска индекса.

Возвращаемое значение

Индекс или null значение , если он не найден.

Реализации

Атрибуты

Применяется к