Sdílet prostřednictvím


NavigationExpansionExtensibilityHelper.ValidateQueryRootCreation Metoda

Definice

Ověří, jestli je možné vytvořit nový 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)

Parametry

entityType
IEntityType

Typ entity nového EntityQueryRootExpression.

source
EntityQueryRootExpression

Zdrojový výraz.

Implementuje

Platí pro