CreateIndexOperation.CreateFrom(ITableIndex) Method

Definition

Creates a new CreateIndexOperation from the specified index.

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

Parameters

index
ITableIndex

The index.

Returns

The operation.

Applies to