다음을 통해 공유


MetaType Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Inheritance Hierarchy

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

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Syntax

'Declaration
Public MustInherit Class MetaType
public abstract class MetaType

The MetaType type exposes the following members.

Constructors

  Name Description
Protected methodSupported by Silverlight for Windows Phone MetaType Initializes a new instance of the MetaType class.

Top

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone Associations Gets an enumeration of all the associations.
Public propertySupported by Silverlight for Windows Phone CanInstantiate Gets whether the underlying type can be instantiated as the result of a query.
Public propertySupported by Silverlight for Windows Phone DataMembers Gets an enumeration of all the data members (fields and properties).
Public propertySupported by Silverlight for Windows Phone DBGeneratedIdentityMember Gets the member that represents the auto-generated identity column.
Public propertySupported by Silverlight for Windows Phone DerivedTypes Gets an enumeration of the immediate derived types in an inheritance hierarchy.
Public propertySupported by Silverlight for Windows Phone Discriminator Gets the member that represents the inheritance discriminator column.
Public propertySupported 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 propertySupported 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 propertySupported by Silverlight for Windows Phone HasInheritance Gets a value indicating whether the type is part of a mapped inheritance hierarchy.
Public propertySupported by Silverlight for Windows Phone HasInheritanceCode Gets a value indicating whether this type defines an inheritance code.
Public propertySupported 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 propertySupported by Silverlight for Windows Phone IdentityMembers Gets an enumeration of all the data members that define the unique identity of the type.
Public propertySupported by Silverlight for Windows Phone Indexes Gets a read-only collection of MetaType indexes.
Public propertySupported by Silverlight for Windows Phone InheritanceBase Gets the base meta-type in the inheritance hierarchy.
Public propertySupported by Silverlight for Windows Phone InheritanceCode Gets a value indicating whether this type defines an inheritance code.
Public propertySupported by Silverlight for Windows Phone InheritanceDefault Gets a value indicating whether this type is used as the default of an inheritance hierarchy.
Public propertySupported by Silverlight for Windows Phone InheritanceRoot Gets the root type of the inheritance hierarchy.
Public propertySupported by Silverlight for Windows Phone InheritanceTypes Gets a collection of all types that are defined by an inheritance hierarchy.
Public propertySupported by Silverlight for Windows Phone IsEntity Gets a value indicating whether the MetaType is an entity type.
Public propertySupported by Silverlight for Windows Phone IsInheritanceDefault Gets a value indicating whether this type is used as the default of an inheritance hierarchy.
Public propertySupported by Silverlight for Windows Phone Model Gets the MetaModel that contains this MetaType.
Public propertySupported by Silverlight for Windows Phone Name Gets the name of the MetaType.
Public propertySupported by Silverlight for Windows Phone OnLoadedMethod Gets information about the OnLoaded method contained by this meta-type.
Public propertySupported by Silverlight for Windows Phone OnValidateMethod Gets information about the OnValidate method contained by this meta-type.
Public propertySupported by Silverlight for Windows Phone PersistentDataMembers Gets a collection of all the persistent data members.
Public propertySupported by Silverlight for Windows Phone Table Gets the MetaTable that uses this MetaType for row definition.
Public propertySupported by Silverlight for Windows Phone Type Gets the underlying common language runtime (CLR) type.
Public propertySupported by Silverlight for Windows Phone VersionMember Gets a row-version or timestamp column for this MetaType.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported 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 methodSupported by Silverlight for Windows Phone GetDataMember Gets the MetaDataMember associated with the specified member.
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetInheritanceType Gets the MetaType for an inheritance subtype.
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetTypeForInheritanceCode Gets the meta-type associated with the specified inheritance code.
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.