ObjectContext.GetObjectType Method (Type)

 

Returns the entity type of the POCO entity associated with a proxy object of a specified type.

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

public static Type GetObjectType(
	Type type
)

Parameters

type
Type: System.Type

The Type of the proxy object.

Return Value

Type: System.Type

The Type of the associated POCO entity.