ConventionEntityTypeExtensions.GetDeclaredServiceProperties メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定 IConventionEntityTypeした で宣言されているすべてのサービス プロパティを取得します。
このメソッドは、基本型で宣言されたプロパティを返しません。 同じプロパティを複数回処理しないように、すべてのエンティティ型を反復処理する場合に便利です。 を使用して GetServiceProperties() 、基本型で宣言されたプロパティも返します。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty> GetDeclaredServiceProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetDeclaredServiceProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionServiceProperty>
<Extension()>
Public Function GetDeclaredServiceProperties (entityType As IConventionEntityType) As IEnumerable(Of IConventionServiceProperty)
パラメーター
- entityType
- IConventionEntityType
エンティティの型。
戻り値
宣言されたサービス プロパティ。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework