This documentation is archived and is not being maintained.
MetaType Class
Visual Studio 2010
Represents the mapping of a domain object type to the columns of a database table.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
The MetaType type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Associations | Gets an enumeration of all the associations. |
![]() | CanInstantiate | Gets whether the underlying type can be instantiated as the result of a query. |
![]() | DataMembers | Gets an enumeration of all the data members (fields and properties). |
![]() | DBGeneratedIdentityMember | Gets the member that represents the auto-generated identity column. |
![]() | DerivedTypes | Gets an enumeration of the immediate derived types in an inheritance hierarchy. |
![]() | Discriminator | Gets the member that represents the inheritance discriminator column. |
![]() | HasAnyLoadMethod | Gets a value that indicates whether the current MetaType or any of its bases types has an OnLoaded method. |
![]() | HasAnyValidateMethod | Gets a value that indicates whether the MetaType or any of its bases types has an OnValidate method. |
![]() | HasInheritance | Gets a value indicating whether the type is part of a mapped inheritance hierarchy. |
![]() | HasInheritanceCode | Gets a value indicating whether this type defines an inheritance code. |
![]() | HasUpdateCheck | Gets a value indicating whether the type has any persistent member that may require a test for optimistic concurrency conflicts. |
![]() | IdentityMembers | Gets an enumeration of all the data members that define the unique identity of the type. |
![]() | InheritanceBase | Gets the base meta-type in the inheritance hierarchy. |
![]() | InheritanceCode | Gets a value indicating whether this type defines an inheritance code. |
![]() | InheritanceDefault | Gets a value indicating whether this type is used as the default of an inheritance hierarchy. |
![]() | InheritanceRoot | Gets the root type of the inheritance hierarchy. |
![]() | InheritanceTypes | Gets a collection of all types that are defined by an inheritance hierarchy. |
![]() | IsEntity | Gets a value indicating whether the MetaType is an entity type. |
![]() | IsInheritanceDefault | Gets a value indicating whether this type is used as the default of an inheritance hierarchy. |
![]() | Model | Gets the MetaModel that contains this MetaType. |
![]() | Name | Gets the name of the MetaType. |
![]() | OnLoadedMethod | Gets information about the OnLoaded method contained by this meta-type. |
![]() | OnValidateMethod | Gets information about the OnValidate method contained by this meta-type. |
![]() | PersistentDataMembers | Gets a collection of all the persistent data members. |
![]() | Table | Gets the MetaTable that uses this MetaType for row definition. |
![]() | Type | Gets the underlying common language runtime (CLR) type. |
![]() | VersionMember | Gets a row-version or timestamp column for this MetaType. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDataMember | Gets the MetaDataMember associated with the specified member. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetInheritanceType | Gets the MetaType for an inheritance subtype. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetTypeForInheritanceCode | Gets the meta-type associated with the specified inheritance code. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
