MetaModel Class

Definition

An abstraction that represents the mapping between a database and domain objects.

C#
public abstract class MetaModel
Inheritance
MetaModel

Constructors

MetaModel()

Initializes a new instance of the MetaModel class.

Properties

ContextType

When overridden in a derived class, gets the DataContext type that this model describes.

DatabaseName

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

MappingSource

When overridden in a derived class, gets the mapping source that originated this model.

ProviderType

When overridden in a derived class, gets or sets the provider type.

Methods

Equals(Object)

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

(Inherited from Object)
GetFunction(MethodInfo)

When overridden in a derived class, gets the MetaFunction that corresponds to a database function.

GetFunctions()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMetaType(Type)

When overridden in a derived class, discovers the MetaType for the specified Type.

GetTable(Type)

When overridden in a derived class, gets the MetaTable associated with a specified Type.

GetTables()

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

GetType()

Gets the Type of the current instance.

(Inherited from Object)
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

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1