MetaType Class
Represents the mapping of a domain object type to the columns of a database table.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
| Name | Description | |
|---|---|---|
![]() | MetaType() | Initializes a new instance of the MetaType class. |
| 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(MemberInfo^) | Gets the MetaDataMember associated with the specified member. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetInheritanceType(Type^) | Gets the MetaType for an inheritance subtype. |
![]() | GetType() | |
![]() | GetTypeForInheritanceCode(Object^) | Gets the meta-type associated with the specified inheritance code. |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


