ObjectContext.GetObjectType(Type) メソッド

定義

指定した型のプロキシ オブジェクトに関連付けられている POCO エンティティのエンティティ型を返します。

public:
 static Type ^ GetObjectType(Type ^ type);
public static Type GetObjectType(Type type);
static member GetObjectType : Type -> Type
Public Shared Function GetObjectType (type As Type) As Type

パラメーター

type
Type

プロキシ オブジェクトの Type

返品

関連付けられた POCO エンティティの Type

注釈

GetObjectType メソッドは、POCO エンティティに対してプロキシ オブジェクトの生成が有効になっている場合に使用されます。

適用対象