Language

ModelValidator.ValidateQueryFilters Method

Definition

Overloads

Name Description
ValidateQueryFilters(IModel)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

ValidateQueryFilters(IEntityType, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Validates query filter configuration for an entity type.

ValidateQueryFilters(IModel, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Validates the mapping/configuration of query filters in the model.

ValidateQueryFilters(IModel)

Source:
ModelValidator.cs
Source:
ModelValidator.cs

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual void ValidateQueryFilters(Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member ValidateQueryFilters : Microsoft.EntityFrameworkCore.Metadata.IModel -> unit
override this.ValidateQueryFilters : Microsoft.EntityFrameworkCore.Metadata.IModel -> unit
Protected Overridable Sub ValidateQueryFilters (model As IModel)

Parameters

model
IModel

Applies to

ValidateQueryFilters(IEntityType, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Source:
ModelValidator.cs

Validates query filter configuration for an entity type.

protected virtual void ValidateQueryFilters(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateQueryFilters : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateQueryFilters : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateQueryFilters (entityType As IEntityType, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parameters

entityType
IEntityType

The entity type to validate.

Applies to

ValidateQueryFilters(IModel, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs
Source:
ModelValidator.cs

Validates the mapping/configuration of query filters in the model.

protected virtual void ValidateQueryFilters(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateQueryFilters : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateQueryFilters : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateQueryFilters (model As IModel, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parameters

model
IModel

The model to validate.

Applies to