Duration (Pacific Standard Time):
To (Pacific Standard Time):
  • None
User Action:
  • None

MetaModel Class


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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


Public MustInherit Class MetaModel
Name Description
System_CAPS_protmethod MetaModel()

Initializes a new instance of the MetaModel class.

Name Description
System_CAPS_pubproperty ContextType

Gets the type of DataContext type that this model describes.

System_CAPS_pubproperty DatabaseName

Gets the name of the database.

System_CAPS_pubproperty MappingSource

Gets the mapping source that originated this model.

System_CAPS_pubproperty ProviderType

Gets or sets the provider type.

Name Description
System_CAPS_pubmethod Equals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethod Finalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethod GetFunction(MethodInfo)

Gets the MetaFunction that corresponds to a database function.

System_CAPS_pubmethod GetFunctions()

Gets an enumeration of all functions.

System_CAPS_pubmethod GetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethod GetMetaType(Type)

Discovers the MetaType for the specified Type.

System_CAPS_pubmethod GetTable(Type)

Gets the MetaTable associated with a specified Type.

System_CAPS_pubmethod GetTables()

Get an enumeration of all tables.

System_CAPS_pubmethod GetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
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.

Return to top