EntityTypeExtensions.GetDeclaredServiceProperties(IEntityType) Yöntem

Tanım

Verilen tüm hizmet özelliklerini alır IEntityType .

Bu yöntem, temel türlerde belirtilen özellikleri döndürmüyor. Aynı özelliğin birden çok kez işlenmesini önlemek için tüm varlık türlerini yineleirken kullanışlıdır. GetServiceProperties()Ayrıca, temel türlerde belirtilen özellikleri döndürmek için kullanın.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IServiceProperty> GetDeclaredServiceProperties (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDeclaredServiceProperties : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IServiceProperty>
<Extension()>
Public Function GetDeclaredServiceProperties (entityType As IEntityType) As IEnumerable(Of IServiceProperty)

Parametreler

entityType
IEntityType

Varlık türü.

Döndürülenler

IEnumerable<IServiceProperty>

Belirtilen hizmet özellikleri.

Şunlara uygulanır