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)

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

Public MustInherit Class DbXmlEnabledProviderManifest
	Inherits DbProviderManifest

NameDescription
System_CAPS_protmethodDbXmlEnabledProviderManifest(XmlReader)

Initializes a new instance of the DbXmlEnabledProviderManifest class.

NameDescription
System_CAPS_pubpropertyNamespaceName

Gets the namespace name supported by this provider manifest.(Overrides DbProviderManifest.NamespaceName.)

System_CAPS_protpropertyStoreTypeNameToEdmPrimitiveType

Gets the best mapped equivalent Entity Data Model (EDM) type for a specified storage type name.

System_CAPS_protpropertyStoreTypeNameToStorePrimitiveType

Gets the best mapped equivalent storage primitive type for a specified storage type name.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodEscapeLikeArgument(String)

Provider 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.)

System_CAPS_protmethodFinalize()

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_protmethodGetDbInformation(String)

When overridden in a derived class, this method returns provider-specific information.(Inherited from DbProviderManifest.)

System_CAPS_pubmethodGetEdmType(TypeUsage)

When 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.)

System_CAPS_pubmethodGetFacetDescriptions(EdmType)

Returns the list of facet descriptions for the specified Entity Data Model (EDM) type.(Overrides DbProviderManifest.GetFacetDescriptions(EdmType).)

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetInformation(String)

Gets the provider-specific information.(Inherited from DbProviderManifest.)

System_CAPS_pubmethodGetStoreFunctions()

Returns the list of provider-supported functions.(Overrides DbProviderManifest.GetStoreFunctions().)

System_CAPS_pubmethodGetStoreType(TypeUsage)

When 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.)

System_CAPS_pubmethodGetStoreTypes()

Returns the list of primitive types supported by the storage provider.(Overrides DbProviderManifest.GetStoreTypes().)

System_CAPS_pubmethodGetType()

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

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodSupportsEscapingLikeArgument(Char)

Indicates if the provider supports escaping strings to be used as patterns in a Like expression.(Inherited from DbProviderManifest.)

System_CAPS_pubmethodToString()

Returns 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
Available since 3.5

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
Show: