Uređivanje

Dijeli putem


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
DbXmlEnabledProviderManifest

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)

Initializes a new instance of the DbXmlEnabledProviderManifest class.

Properties

NamespaceName

Gets the namespace name supported by this provider manifest.

StoreTypeNameToEdmPrimitiveType

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

StoreTypeNameToStorePrimitiveType

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

Methods

Equals(Object)

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

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

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

(Inherited from DbProviderManifest)
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)

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInformation(String)

Gets the provider-specific information.

(Inherited from DbProviderManifest)
GetStoreFunctions()

Returns the list of provider-supported functions.

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

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

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SupportsEscapingLikeArgument(Char)

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

(Inherited from DbProviderManifest)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to