ObjectContext.GetObjectType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the entity type of the POCO entity associated with a proxy object of a specified type.
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
Parameters
Returns
The Type of the associated POCO entity.
Remarks
The GetObjectType method is used when proxy object generation is enabled for POCO entities. For more information, see Requirements for Creating POCO Proxies and Working with POCO Entities.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.