MetaType Class

Definition

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

public ref class MetaType abstract
public abstract class MetaType
type MetaType = class
Public MustInherit Class MetaType
Inheritance
MetaType

Constructors

MetaType()

Initializes a new instance of the MetaType class.

Properties

Associations

When overridden in a derived class, gets an enumeration of all the associations.

CanInstantiate

When overridden in a derived class, gets whether the underlying type can be instantiated as the result of a query.

DataMembers

When overridden in a derived class, gets an enumeration of all the data members (fields and properties).

DBGeneratedIdentityMember

When overridden in a derived class, gets the member that represents the auto-generated identity column.

DerivedTypes

When overridden in a derived class, gets an enumeration of the immediate derived types in an inheritance hierarchy.

Discriminator

When overridden in a derived class, gets the member that represents the inheritance discriminator column.

HasAnyLoadMethod

When overridden in a derived class, gets a value that indicates whether the current MetaType or any of its bases types has an OnLoaded method.

HasAnyValidateMethod

When overridden in a derived class, gets a value that indicates whether the MetaType or any of its bases types has an OnValidate method.

HasInheritance

When overridden in a derived class, gets a value indicating whether the type is part of a mapped inheritance hierarchy.

HasInheritanceCode

When overridden in a derived class, gets a value indicating whether this type defines an inheritance code.

HasUpdateCheck

When overridden in a derived class, gets a value indicating whether the type has any persistent member that may require a test for optimistic concurrency conflicts.

IdentityMembers

When overridden in a derived class, gets an enumeration of all the data members that define the unique identity of the type.

InheritanceBase

When overridden in a derived class, gets the base meta-type in the inheritance hierarchy.

InheritanceCode

When overridden in a derived class, gets a value indicating whether this type defines an inheritance code.

InheritanceDefault

When overridden in a derived class, gets a value indicating whether this type is used as the default of an inheritance hierarchy.

InheritanceRoot

When overridden in a derived class, gets the root type of the inheritance hierarchy.

InheritanceTypes

When overridden in a derived class, gets a collection of all types that are defined by an inheritance hierarchy.

IsEntity

When overridden in a derived class, gets a value indicating whether the MetaType is an entity type.

IsInheritanceDefault

When overridden in a derived class, gets a value indicating whether this type is used as the default of an inheritance hierarchy.

Model

When overridden in a derived class, gets the MetaModel that contains this MetaType.

Name

When overridden in a derived class, gets the name of the MetaType.

OnLoadedMethod

When overridden in a derived class, gets information about the OnLoaded method contained by this meta-type.

OnValidateMethod

When overridden in a derived class, gets information about the OnValidate method contained by this meta-type.

PersistentDataMembers

When overridden in a derived class, gets a collection of all the persistent data members.

Table

When overridden in a derived class, gets the MetaTable that uses this MetaType for row definition.

Type

When overridden in a derived class, gets the underlying common language runtime (CLR) type.

VersionMember

When overridden in a derived class, gets a row-version or timestamp column for this MetaType.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDataMember(MemberInfo)

When overridden in a derived class, gets the MetaDataMember associated with the specified member.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInheritanceType(Type)

When overridden in a derived class, gets the MetaType for an inheritance subtype.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetTypeForInheritanceCode(Object)

When overridden in a derived class, 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)

Applies to