Share via


IMigrationsAnnotationProvider.ForRename Method

Definition

Overloads

ForRename(ITable)

Gets provider-specific Migrations annotations for the given ITable when it is being renamed.

ForRename(IColumn)

Gets provider-specific Migrations annotations for the given IColumn when it is being renamed.

ForRename(ISequence)

Gets provider-specific Migrations annotations for the given ISequence when it is being renamed.

ForRename(ITableIndex)

Gets provider-specific Migrations annotations for the given ITableIndex when it is being renamed.

ForRename(ITable)

Gets provider-specific Migrations annotations for the given ITable when it is being renamed.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRename (Microsoft.EntityFrameworkCore.Metadata.ITable table);
abstract member ForRename : Microsoft.EntityFrameworkCore.Metadata.ITable -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
override this.ForRename : Microsoft.EntityFrameworkCore.Metadata.ITable -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRename (table As ITable) As IEnumerable(Of IAnnotation)

Parameters

table
ITable

The table.

Returns

The annotations.

Applies to

ForRename(IColumn)

Gets provider-specific Migrations annotations for the given IColumn when it is being renamed.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRename (Microsoft.EntityFrameworkCore.Metadata.IColumn column);
abstract member ForRename : Microsoft.EntityFrameworkCore.Metadata.IColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
override this.ForRename : Microsoft.EntityFrameworkCore.Metadata.IColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRename (column As IColumn) As IEnumerable(Of IAnnotation)

Parameters

column
IColumn

The column.

Returns

The annotations.

Applies to

ForRename(ISequence)

Gets provider-specific Migrations annotations for the given ISequence when it is being renamed.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRename (Microsoft.EntityFrameworkCore.Metadata.ISequence sequence);
abstract member ForRename : Microsoft.EntityFrameworkCore.Metadata.ISequence -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
override this.ForRename : Microsoft.EntityFrameworkCore.Metadata.ISequence -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRename (sequence As ISequence) As IEnumerable(Of IAnnotation)

Parameters

sequence
ISequence

The sequence.

Returns

The annotations.

Applies to

ForRename(ITableIndex)

Gets provider-specific Migrations annotations for the given ITableIndex when it is being renamed.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> ForRename (Microsoft.EntityFrameworkCore.Metadata.ITableIndex index);
abstract member ForRename : Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
override this.ForRename : Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function ForRename (index As ITableIndex) As IEnumerable(Of IAnnotation)

Parameters

index
ITableIndex

The index.

Returns

The annotations.

Applies to