RelationalEntityShaperExpression.WithEntityType(IEntityType) Yöntem

Tanım

Bu varlık şekillendirıcısı tarafından şekillendiren varlık türünü değiştirir.

public override Microsoft.EntityFrameworkCore.Query.EntityShaperExpression WithEntityType (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
override this.WithEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.EntityShaperExpression
Public Overrides Function WithEntityType (entityType As IEntityType) As EntityShaperExpression

Parametreler

entityType
IEntityType

Yeni varlık türü.

Döndürülenler

EntityShaperExpression

Varlık türü değişmemişse bu ifade veya güncelleştirilmiş varlık türüne sahip bir ifade.

Şunlara uygulanır