ObjectContext.GetObjectType メソッド
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定した型のプロキシ オブジェクトに関連付けられている POCO エンティティのエンティティ型を返します。
名前空間: System.Data.Entity.Core.Objects
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public Shared Function GetObjectType ( _
type As Type _
) As Type
'使用
Dim type As Type
Dim returnValue As Type
returnValue = ObjectContext.GetObjectType(type)
public static Type GetObjectType(
Type type
)
public:
static Type^ GetObjectType(
Type^ type
)
static member GetObjectType :
type:Type -> Type
public static function GetObjectType(
type : Type
) : Type
パラメーター
- type
型 : System.Type
プロキシ オブジェクトの Type。
戻り値
型 : System.Type
関連付けられている POCO エンティティの Type。