Table of Contents

Class KafkaModelValidator

Namespace
MASES.EntityFrameworkCore.KNet.Infrastructure.Internal
Assembly
MASES.EntityFrameworkCore.KNet.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class KafkaModelValidator : ModelValidator, IModelValidator
Inheritance
KafkaModelValidator
Implements
Inherited Members

Remarks

Initializer

Constructors

KafkaModelValidator(ModelValidatorDependencies)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public KafkaModelValidator(ModelValidatorDependencies dependencies)

Parameters

dependencies ModelValidatorDependencies

Remarks

Initializer

Methods

Validate(IModel, IDiagnosticsLogger<Validation>)

Validates a model, throwing an exception if any errors are found.

public override void Validate(IModel model, IDiagnosticsLogger<DbLoggerCategory.Model.Validation> logger)

Parameters

model IModel

The model to validate.

logger IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

The logger to use.

ValidateDefiningQuery(IModel, IDiagnosticsLogger<Validation>)

Validates the configuration of defining queries in the model.

protected virtual void ValidateDefiningQuery(IModel model, IDiagnosticsLogger<DbLoggerCategory.Model.Validation> logger)

Parameters

model IModel

The model to validate.

logger IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

The logger to use.