DbXmlEnabledProviderManifest DbXmlEnabledProviderManifest DbXmlEnabledProviderManifest DbXmlEnabledProviderManifest Class

Definition

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.

public ref class DbXmlEnabledProviderManifest abstract : System::Data::Common::DbProviderManifest
public abstract class DbXmlEnabledProviderManifest : System.Data.Common.DbProviderManifest
type DbXmlEnabledProviderManifest = class
    inherit DbProviderManifest
Public MustInherit Class DbXmlEnabledProviderManifest
Inherits DbProviderManifest
Inheritance
DbXmlEnabledProviderManifestDbXmlEnabledProviderManifestDbXmlEnabledProviderManifestDbXmlEnabledProviderManifest

Remarks

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.

Constructors

DbXmlEnabledProviderManifest(XmlReader) DbXmlEnabledProviderManifest(XmlReader) DbXmlEnabledProviderManifest(XmlReader) DbXmlEnabledProviderManifest(XmlReader)

Initializes a new instance of the DbXmlEnabledProviderManifest class.

Properties

NamespaceName NamespaceName NamespaceName NamespaceName

Gets the namespace name supported by this provider manifest.

StoreTypeNameToEdmPrimitiveType StoreTypeNameToEdmPrimitiveType StoreTypeNameToEdmPrimitiveType StoreTypeNameToEdmPrimitiveType

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

StoreTypeNameToStorePrimitiveType StoreTypeNameToStorePrimitiveType StoreTypeNameToStorePrimitiveType StoreTypeNameToStorePrimitiveType

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

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

When overridden in a derived class, this method returns provider-specific information.

(Inherited from DbProviderManifest)
GetEdmType(TypeUsage) GetEdmType(TypeUsage) GetEdmType(TypeUsage) GetEdmType(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)
GetFacetDescriptions(EdmType) GetFacetDescriptions(EdmType) GetFacetDescriptions(EdmType) GetFacetDescriptions(EdmType)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInformation(String) GetInformation(String) GetInformation(String) GetInformation(String)

Gets the provider-specific information.

(Inherited from DbProviderManifest)
GetStoreFunctions() GetStoreFunctions() GetStoreFunctions() GetStoreFunctions()

Returns the list of provider-supported functions.

GetStoreType(TypeUsage) GetStoreType(TypeUsage) GetStoreType(TypeUsage) GetStoreType(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)
GetStoreTypes() GetStoreTypes() GetStoreTypes() GetStoreTypes()

Returns the list of primitive types supported by the storage provider.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SupportsEscapingLikeArgument(Char) SupportsEscapingLikeArgument(Char) SupportsEscapingLikeArgument(Char) SupportsEscapingLikeArgument(Char)

Indicates if the provider supports escaping strings to be used as patterns in a Like expression.

(Inherited from DbProviderManifest)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to