Export (0) Print
Expand All

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.

System::Object
  System.Data.Common::DbProviderManifest
    System.Data.Common::DbXmlEnabledProviderManifest

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

public ref class DbXmlEnabledProviderManifest abstract : public DbProviderManifest

The DbXmlEnabledProviderManifest type exposes the following members.

  NameDescription
Protected methodDbXmlEnabledProviderManifestInitializes a new instance of the DbXmlEnabledProviderManifest class.
Top

  NameDescription
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.
Top

  NameDescription
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. (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 the default hash function. (Inherited from Object.)
Public methodGetInformationGets the 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.)
Top

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.5.2, 4.5.1, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft