次の方法で共有


EntitySet.ElementType プロパティ

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

この EntitySet のエンティティ型を取得します。

名前空間:  System.Data.Entity.Core.Metadata.Edm
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Overridable ReadOnly Property ElementType As EntityType 
    Get
'使用
Dim instance As EntitySet 
Dim value As EntityType 

value = instance.ElementType
public virtual EntityType ElementType { get; }
public:
virtual property EntityType^ ElementType {
    EntityType^ get ();
}
abstract ElementType : EntityType 
override ElementType : EntityType
function get ElementType () : EntityType

プロパティ値

型 : System.Data.Entity.Core.Metadata.Edm.EntityType
この EntityType のエンティティ型を表す EntitySet オブジェクト。

参照

参照

EntitySet クラス

System.Data.Entity.Core.Metadata.Edm 名前空間