IMigrationsAnnotationProvider.For Method

Definition

Overloads

For(ICheckConstraint)

Gets provider-specific Migrations annotations for the given ICheckConstraint.

For(IEntityType)

Gets provider-specific Migrations annotations for the given IEntityType.

For(IForeignKey)

Gets provider-specific Migrations annotations for the given IForeignKey.

For(IIndex)

Gets provider-specific Migrations annotations for the given IIndex.

For(IKey)

Gets provider-specific Migrations annotations for the given IKey.

For(IModel)

Gets provider-specific Migrations annotations for the given IModel.

For(IProperty)

Gets provider-specific Migrations annotations for the given IProperty.

For(ISequence)

Gets provider-specific Migrations annotations for the given ISequence.

For(ICheckConstraint)

Gets provider-specific Migrations annotations for the given ICheckConstraint.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (checkConstraint As ICheckConstraint) As IEnumerable(Of IAnnotation)

Parameters

checkConstraint
ICheckConstraint

The check constraint.

Returns

The annotations.

Applies to

For(IEntityType)

Gets provider-specific Migrations annotations for the given IEntityType.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (entityType As IEntityType) As IEnumerable(Of IAnnotation)

Parameters

entityType
IEntityType

The entity type.

Returns

The annotations.

Applies to

For(IForeignKey)

Gets provider-specific Migrations annotations for the given IForeignKey.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (foreignKey As IForeignKey) As IEnumerable(Of IAnnotation)

Parameters

foreignKey
IForeignKey

The foreign key.

Returns

The annotations.

Applies to

For(IIndex)

Gets provider-specific Migrations annotations for the given IIndex.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IIndex index);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (index As IIndex) As IEnumerable(Of IAnnotation)

Parameters

index
IIndex

The index.

Returns

The annotations.

Applies to

For(IKey)

Gets provider-specific Migrations annotations for the given IKey.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IKey key);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IKey -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (key As IKey) As IEnumerable(Of IAnnotation)

Parameters

key
IKey

The key.

Returns

The annotations.

Applies to

For(IModel)

Gets provider-specific Migrations annotations for the given IModel.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (model As IModel) As IEnumerable(Of IAnnotation)

Parameters

model
IModel

The model.

Returns

The annotations.

Applies to

For(IProperty)

Gets provider-specific Migrations annotations for the given IProperty.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IProperty -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (property As IProperty) As IEnumerable(Of IAnnotation)

Parameters

property
IProperty

The property.

Returns

The annotations.

Applies to

For(ISequence)

Gets provider-specific Migrations annotations for the given ISequence.

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

Parameters

sequence
ISequence

The sequence.

Returns

The annotations.

Applies to