語言

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)

參數

source
EntityQueryRootExpression

來源表達。

實作

適用於