Bagikan melalui


NavigationExpansionExtensibilityHelper.ValidateQueryRootCreation Metode

Definisi

Memvalidasi apakah baru EntityQueryRootExpression dapat dibuat.

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)

Parameter

entityType
IEntityType

Jenis entitas dari yang baru EntityQueryRootExpression.

source
EntityQueryRootExpression

Ekspresi sumber.

Penerapan

Berlaku untuk