ValidatingConvention Sınıf

Tanım

Dikkat

The validation is no longer performed by a convention

Modelin geçerli olup olmadığını kontrol alan bir kural.

public class ValidatingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
[System.Obsolete("The validation is no longer performed by a convention")]
public class ValidatingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
type ValidatingConvention = class
    interface IModelFinalizedConvention
    interface IConvention
[<System.Obsolete("The validation is no longer performed by a convention")>]
type ValidatingConvention = class
    interface IModelFinalizedConvention
    interface IConvention
Public Class ValidatingConvention
Implements IModelFinalizedConvention
Devralma
ValidatingConvention
Öznitelikler
Uygulamalar

Açıklamalar

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

Oluşturucular

ValidatingConvention(ProviderConventionSetBuilderDependencies)

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

Özellikler

Dependencies

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

Yöntemler

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Model son hale getirildikten sonra çağrılır.

ProcessModelFinalized(IModel)

Bir model son hale getirildikten sonra çağrılır ve artık bu modelde bir sorun yoktur.

Uygulamanın iş parçacığı güvenli olması gerekir.

Şunlara uygulanır