OwnedTypesConvention Sınıf

Tanım

Dikkat

Entity types with defining navigations have been replaced by shared-type entity types

Sahip olunan varlık türlerini, gezinti tanımlamadan gezintiyi sahip olunan varlık türleri olarak tanımlayarak yapılandıran bir kuraldır ( bu türde yalnızca bir gezinti varsa).

public class OwnedTypesConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeRemovedConvention
[System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")]
public class OwnedTypesConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeRemovedConvention
type OwnedTypesConvention = class
    interface IEntityTypeRemovedConvention
    interface IConvention
[<System.Obsolete("Entity types with defining navigations have been replaced by shared-type entity types")>]
type OwnedTypesConvention = class
    interface IEntityTypeRemovedConvention
    interface IConvention
Public Class OwnedTypesConvention
Implements IEntityTypeRemovedConvention
Devralma
OwnedTypesConvention
Öznitelikler
Uygulamalar

Açıklamalar

Daha fazla bilgi için bkz. Model bina kuralları.

Oluşturucular

OwnedTypesConvention(ProviderConventionSetBuilderDependencies)

OwnedTypesConvention öğesinin yeni bir örneğini oluşturur.

Özellikler

Dependencies

Bu hizmetin bağımlılıkları.

Yöntemler

ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)

Bir varlık türü modelden kaldırıldıktan sonra çağrılır.

Şunlara uygulanır