Dela via


NavigationExpansionExtensibilityHelper.ValidateQueryRootCreation Method

Definition

Validates whether a new EntityQueryRootExpression can be created.

public virtual void ValidateQueryRootCreation (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression? source);
abstract member ValidateQueryRootCreation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression -> unit
override this.ValidateQueryRootCreation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Query.EntityQueryRootExpression -> unit
Public Overridable Sub ValidateQueryRootCreation (entityType As IEntityType, source As EntityQueryRootExpression)

Parameters

entityType
IEntityType

Entity type of the new EntityQueryRootExpression.

source
EntityQueryRootExpression

Source expression.

Implements

Applies to