EntityShaperExpression.WithEntityType(IEntityType) Yöntem

Tanım

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

public virtual Microsoft.EntityFrameworkCore.Query.EntityShaperExpression WithEntityType (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member WithEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.EntityShaperExpression
override this.WithEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.EntityShaperExpression
Public Overridable 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