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


SqlServerAnnotationProvider.For Метод

Определение

Перегрузки

For(IEntityType)
For(IForeignKey)
For(IIndex)
For(IKey)
For(IModel)
For(IProperty)

For(IEntityType)

public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations
override this.For : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations
Public Overridable Function For (entityType As IEntityType) As IRelationalEntityTypeAnnotations

Параметры

entityType
IEntityType

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

Реализации

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

For(IForeignKey)

public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations
override this.For : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations
Public Overridable Function For (foreignKey As IForeignKey) As IRelationalForeignKeyAnnotations

Параметры

foreignKey
IForeignKey

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

Реализации

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

For(IIndex)

public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IIndex index);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IIndex -> Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations
override this.For : Microsoft.EntityFrameworkCore.Metadata.IIndex -> Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations
Public Overridable Function For (index As IIndex) As IRelationalIndexAnnotations

Параметры

index
IIndex

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

Реализации

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

For(IKey)

public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IKey key);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations
override this.For : Microsoft.EntityFrameworkCore.Metadata.IKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations
Public Overridable Function For (key As IKey) As IRelationalKeyAnnotations

Параметры

key
IKey

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

Реализации

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

For(IModel)

public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations
override this.For : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations
Public Overridable Function For (model As IModel) As IRelationalModelAnnotations

Параметры

model
IModel

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

Реализации

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

For(IProperty)

public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
override this.For : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
Public Overridable Function For (property As IProperty) As IRelationalPropertyAnnotations

Параметры

property
IProperty

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

Реализации

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