Dela via


INavigationExpansionExtensibilityHelper.ValidateQueryRootCreation Method

Definition

Validates whether a new EntityQueryRootExpression can be created.

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

Parameters

entityType
IEntityType

Entity type of the new EntityQueryRootExpression.

source
EntityQueryRootExpression

Source expression.

Applies to