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


CreateIndexOperation.CreateFrom(ITableIndex) Метод

Определение

Создает новый CreateIndexOperation объект из указанного индекса.

public static Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation CreateFrom (Microsoft.EntityFrameworkCore.Metadata.ITableIndex index);
static member CreateFrom : Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation
Public Shared Function CreateFrom (index As ITableIndex) As CreateIndexOperation

Параметры

index
ITableIndex

Индекс.

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

Операция.

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