次の方法で共有


EntityType.GetReferenceType メソッド

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

この EntityType を参照する RefType オブジェクトを返します。

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

構文

'宣言
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")> _
Public Function GetReferenceType As RefType
'使用
Dim instance As EntityType 
Dim returnValue As RefType 

returnValue = instance.GetReferenceType()
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public RefType GetReferenceType()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1024:UsePropertiesWhereAppropriate")]
public:
RefType^ GetReferenceType()
[<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")>]
member GetReferenceType : unit -> RefType
public function GetReferenceType() : RefType

戻り値

型 : System.Data.Entity.Core.Metadata.Edm.RefType
この EntityType を参照する RefType オブジェクト。

参照

参照

EntityType クラス

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