This documentation is archived and is not being maintained.

DbXmlEnabledProviderManifest Class

Represents a base class that implements the DbProviderManifest based on an XML definition. You can use the DbXmlEnabledProviderManifest class to obtain provider-specific information at runtime.


Namespace:  System.Data.Common
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract class DbXmlEnabledProviderManifest : DbProviderManifest

The DbXmlEnabledProviderManifest type exposes the following members.

Protected methodDbXmlEnabledProviderManifestInitializes a new instance of the DbXmlEnabledProviderManifest class.

Public propertyNamespaceNameGets the namespace name supported by this provider manifest. (Overrides DbProviderManifest.NamespaceName.)
Protected propertyStoreTypeNameToEdmPrimitiveTypeGets the best mapped equivalent Entity Data Model (EDM) type for a specified storage type name.
Protected propertyStoreTypeNameToStorePrimitiveTypeGets the best mapped equivalent storage primitive type for a specified storage type name.

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodEscapeLikeArgumentProvider writers should override this method to return the argument with the wildcards and the escape character escaped. This method is only used if SupportsEscapingLikeArgument returns true. (Inherited from DbProviderManifest.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetDbInformationWhen overridden in a derived class, this method returns provider-specific information. This method should never return null. (Inherited from DbProviderManifest.)
Public methodGetEdmTypeWhen overridden in a derived class, this method maps the specified storage type and a set of facets for that type to an EDM type. (Inherited from DbProviderManifest.)
Public methodGetFacetDescriptionsReturns the list of facet descriptions for the specified Entity Data Model (EDM) type. (Overrides DbProviderManifest.GetFacetDescriptions(EdmType).)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetInformationGets provider-specific information. (Inherited from DbProviderManifest.)
Public methodGetStoreFunctionsReturns the list of provider-supported functions. (Overrides DbProviderManifest.GetStoreFunctions().)
Public methodGetStoreTypeWhen overridden in a derived class, this method maps the specified EDM type and a set of facets for that type to a storage type. (Inherited from DbProviderManifest.)
Public methodGetStoreTypesReturns the list of primitive types supported by the storage provider. (Overrides DbProviderManifest.GetStoreTypes().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupportsEscapingLikeArgumentIndicates if the provider supports escaping strings to be used as patterns in a Like expression. (Inherited from DbProviderManifest.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

The DbXmlEnabledProviderManifest class is especially appropriate for the providers whose type mapping to EDM is symmetrical. In symmetrical type mapping scenarios, each storage type maps to a single Entity Data Model (EDM) type regardless of the mapping direction. In other words, the EDM-to-provider type mapping is the same as the provider-to-EDM type mapping.

In symmetric mapping scenarios, you can either derive your custom provider class from the DbXmlEnabledProviderManifest class or the DbProviderManifest class. We recommend that you derive your custom provider class from the DbXmlEnabledProviderManifest class for symmetric mapping scenarios because the DbXmlEnabledProviderManifest class will allow you to specify the manifests declaratively.

.NET Framework

Supported in: 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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