Dil

ValidatingConvention Sınıf

Tanım

Dikkat

The validation is no longer performed by a convention

Modelin geçerli olup olmadığını denetleen 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
Özellikler
Uygulamalar

Açıklamalar

Daha fazla bilgi için bkz. Model oluşturma kuralları .

Oluşturucular

Veri Akışı Adı Description
ValidatingConvention(ProviderConventionSetBuilderDependencies)
Geçersiz.

öğesinin yeni bir örneğini ValidatingConventionoluşturur.

Özellikler

Veri Akışı Adı Description
Dependencies
Geçersiz.

Bu hizmet için bağımlılıklar.

Yöntemler

Veri Akışı Adı Description
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
Geçersiz.

Bir model sonlandırıldıktan sonra çağrılır.

ProcessModelFinalized(IModel)
Geçersiz.

Bir model sonlandırıldıktan sonra çağrılır ve artık kapatılamaz.

Şunlara uygulanır