Breyta

Deila með


DbProviderServices Class

Definition

Important

This API is not CLS-compliant.

The factory for building command definitions; use the type of this object as the argument to the IServiceProvider.GetService method on the provider factory.

public ref class DbProviderServices abstract
public abstract class DbProviderServices
[System.CLSCompliant(false)]
public abstract class DbProviderServices
type DbProviderServices = class
[<System.CLSCompliant(false)>]
type DbProviderServices = class
Public MustInherit Class DbProviderServices
Inheritance
DbProviderServices
Derived
Attributes

Constructors

DbProviderServices()

Initializes a new instance of the DbProviderServices class.

Methods

CreateCommandDefinition(DbCommand)

Creates a command definition that uses a specified command.

CreateCommandDefinition(DbCommandTree)

Creates command definition from command tree.

CreateCommandDefinition(DbProviderManifest, DbCommandTree)

Creates command definition from specified manifest and command tree.

CreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Creates a database indicated by connection and creates schema objects.

CreateDatabaseScript(String, StoreItemCollection)

Generates a data definition language (DDL script that creates schema objects (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token.

CreateDbCommandDefinition(DbProviderManifest, DbCommandTree)

Creates a command definition object for the specified provider manifest and command tree.

DatabaseExists(DbConnection, Nullable<Int32>, StoreItemCollection)

Returns a value indicating whether a given database exists on the server and whether schema objects contained in the storeItemCollection have been created.

DbCreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Creates a database indicated by connection and creates schema objects (tables, primary keys, foreign keys) based on the contents of a StoreItemCollection.

DbCreateDatabaseScript(String, StoreItemCollection)

Generates a data definition language (DDL script that creates schema objects (tables, primary keys, foreign keys) based on the contents of the StoreItemCollection parameter and targeted for the version of the database corresponding to the provider manifest token.

DbDatabaseExists(DbConnection, Nullable<Int32>, StoreItemCollection)

Returns a value indicating whether a given database exists on the server and whether schema objects contained in the storeItemCollection have been created.

DbDeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Deletes all store objects specified in the store item collection from the database and the database itself.

DbGetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

DeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Deletes all store objects specified in the store item collection from the database and the database itself.

Equals(Object)

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

(Inherited from Object)
GetDbProviderManifest(String)

When overridden in a derived class, returns an instance of a class that derives from the DbProviderManifest.

GetDbProviderManifestToken(DbConnection)

Returns provider manifest token given a connection.

GetDbSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProviderFactory(DbConnection)

Retrieves the DbProviderFactory based on the specified DbConnection.

GetProviderManifest(String)

Returns the provider manifest by using the specified version information.

GetProviderManifestToken(DbConnection)

Returns provider manifest token.

GetProviderServices(DbConnection)

Returns providers given a connection.

GetSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

GetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetDbParameterValue(DbParameter, TypeUsage, Object)

Sets the parameter values for the DbProviderServices.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to