语言

NavigationExpansionExtensibilityHelper.ValidateQueryRootCreation 方法

定义

验证是否可以 EntityQueryRootExpression 创建新项。

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)

参数

entityType
IEntityType

新 EntityQueryRootExpression实体的实体类型。

source
EntityQueryRootExpression

源表达式。

实现

适用于