This topic has not yet been rated - Rate this topic

MetaType Class

Represents the mapping of a domain object type to the columns of a database table.

System.Object
  System.Data.Linq.Mapping.MetaType

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)
public abstract class MetaType

The MetaType type exposes the following members.

  Name Description
Protected method Supported by Silverlight for Windows Phone MetaType Initializes a new instance of the MetaType class.
Top
  Name Description
Public property Supported by Silverlight for Windows Phone Associations Gets an enumeration of all the associations.
Public property Supported by Silverlight for Windows Phone CanInstantiate Gets whether the underlying type can be instantiated as the result of a query.
Public property Supported by Silverlight for Windows Phone DataMembers Gets an enumeration of all the data members (fields and properties).
Public property Supported by Silverlight for Windows Phone DBGeneratedIdentityMember Gets the member that represents the auto-generated identity column.
Public property Supported by Silverlight for Windows Phone DerivedTypes Gets an enumeration of the immediate derived types in an inheritance hierarchy.
Public property Supported by Silverlight for Windows Phone Discriminator Gets the member that represents the inheritance discriminator column.
Public property Supported by Silverlight for Windows Phone HasAnyLoadMethod Gets a value that indicates whether the current MetaType or any of its bases types has an OnLoaded method.
Public property Supported by Silverlight for Windows Phone HasAnyValidateMethod Gets a value that indicates whether the MetaType or any of its bases types has an OnValidate method.
Public property Supported by Silverlight for Windows Phone HasInheritance Gets a value indicating whether the type is part of a mapped inheritance hierarchy.
Public property Supported by Silverlight for Windows Phone HasInheritanceCode Gets a value indicating whether this type defines an inheritance code.
Public property Supported by Silverlight for Windows Phone HasUpdateCheck Gets a value indicating whether the type has any persistent member that may require a test for optimistic concurrency conflicts.
Public property Supported by Silverlight for Windows Phone IdentityMembers Gets an enumeration of all the data members that define the unique identity of the type.
Public property Supported by Silverlight for Windows Phone Indexes Gets a read-only collection of MetaType indexes.
Public property Supported by Silverlight for Windows Phone InheritanceBase Gets the base meta-type in the inheritance hierarchy.
Public property Supported by Silverlight for Windows Phone InheritanceCode Gets a value indicating whether this type defines an inheritance code.
Public property Supported by Silverlight for Windows Phone InheritanceDefault Gets a value indicating whether this type is used as the default of an inheritance hierarchy.
Public property Supported by Silverlight for Windows Phone InheritanceRoot Gets the root type of the inheritance hierarchy.
Public property Supported by Silverlight for Windows Phone InheritanceTypes Gets a collection of all types that are defined by an inheritance hierarchy.
Public property Supported by Silverlight for Windows Phone IsEntity Gets a value indicating whether the MetaType is an entity type.
Public property Supported by Silverlight for Windows Phone IsInheritanceDefault Gets a value indicating whether this type is used as the default of an inheritance hierarchy.
Public property Supported by Silverlight for Windows Phone Model Gets the MetaModel that contains this MetaType.
Public property Supported by Silverlight for Windows Phone Name Gets the name of the MetaType.
Public property Supported by Silverlight for Windows Phone OnLoadedMethod Gets information about the OnLoaded method contained by this meta-type.
Public property Supported by Silverlight for Windows Phone OnValidateMethod Gets information about the OnValidate method contained by this meta-type.
Public property Supported by Silverlight for Windows Phone PersistentDataMembers Gets a collection of all the persistent data members.
Public property Supported by Silverlight for Windows Phone Table Gets the MetaTable that uses this MetaType for row definition.
Public property Supported by Silverlight for Windows Phone Type Gets the underlying common language runtime (CLR) type.
Public property Supported by Silverlight for Windows Phone VersionMember Gets a row-version or timestamp column for this MetaType.
Top
  Name Description
Public method Supported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone GetDataMember Gets the MetaDataMember associated with the specified member.
Public method Supported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone GetInheritanceType Gets the MetaType for an inheritance subtype.
Public method Supported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone GetTypeForInheritanceCode Gets the meta-type associated with the specified inheritance code.
Protected method Supported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ