DbProviderServices DbProviderServices DbProviderServices 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
[System.CLSCompliant(false)]
public abstract class DbProviderServices
type DbProviderServices = class
Public MustInherit Class DbProviderServices
Inheritance
DbProviderServicesDbProviderServicesDbProviderServicesDbProviderServices
Derived
Attributes

Constructors

DbProviderServices() DbProviderServices() DbProviderServices() DbProviderServices()

Initializes a new instance of the DbProviderServices class.

Methods

CreateCommandDefinition(DbCommand) CreateCommandDefinition(DbCommand) CreateCommandDefinition(DbCommand) CreateCommandDefinition(DbCommand)

Creates a command definition that uses a specified command.

CreateCommandDefinition(DbCommandTree) CreateCommandDefinition(DbCommandTree) CreateCommandDefinition(DbCommandTree) CreateCommandDefinition(DbCommandTree)

Creates command definition from command tree.

CreateCommandDefinition(DbProviderManifest, DbCommandTree) CreateCommandDefinition(DbProviderManifest, DbCommandTree) CreateCommandDefinition(DbProviderManifest, DbCommandTree) CreateCommandDefinition(DbProviderManifest, DbCommandTree)

Creates command definition from specified manifest and command tree.

CreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) CreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) CreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) CreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Creates a database indicated by connection and creates schema objects.

CreateDatabaseScript(String, StoreItemCollection) CreateDatabaseScript(String, StoreItemCollection) CreateDatabaseScript(String, StoreItemCollection) 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) CreateDbCommandDefinition(DbProviderManifest, DbCommandTree) CreateDbCommandDefinition(DbProviderManifest, DbCommandTree) CreateDbCommandDefinition(DbProviderManifest, DbCommandTree)

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

DatabaseExists(DbConnection, Nullable<Int32>, StoreItemCollection) DatabaseExists(DbConnection, Nullable<Int32>, StoreItemCollection) DatabaseExists(DbConnection, Nullable<Int32>, StoreItemCollection) 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) DbCreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) DbCreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) 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) DbCreateDatabaseScript(String, StoreItemCollection) DbCreateDatabaseScript(String, 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) DbDatabaseExists(DbConnection, Nullable<Int32>, StoreItemCollection) DbDatabaseExists(DbConnection, Nullable<Int32>, StoreItemCollection) 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) DbDeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) DbDeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) DbDeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

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

DbGetSpatialServices(String) DbGetSpatialServices(String) DbGetSpatialServices(String) DbGetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

DeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) DeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) DeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection) DeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

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

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

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

(Inherited from Object)
GetDbProviderManifest(String) GetDbProviderManifest(String) GetDbProviderManifest(String) GetDbProviderManifest(String)

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

GetDbProviderManifestToken(DbConnection) GetDbProviderManifestToken(DbConnection) GetDbProviderManifestToken(DbConnection) GetDbProviderManifestToken(DbConnection)

Returns provider manifest token given a connection.

GetDbSpatialDataReader(DbDataReader, String) GetDbSpatialDataReader(DbDataReader, String) GetDbSpatialDataReader(DbDataReader, String) GetDbSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

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

Serves as the default hash function.

(Inherited from Object)
GetProviderFactory(DbConnection) GetProviderFactory(DbConnection) GetProviderFactory(DbConnection) GetProviderFactory(DbConnection)

Retrieves the DbProviderFactory based on the specified DbConnection.

GetProviderManifest(String) GetProviderManifest(String) GetProviderManifest(String) GetProviderManifest(String)

Returns the provider manifest by using the specified version information.

GetProviderManifestToken(DbConnection) GetProviderManifestToken(DbConnection) GetProviderManifestToken(DbConnection) GetProviderManifestToken(DbConnection)

Returns provider manifest token.

GetProviderServices(DbConnection) GetProviderServices(DbConnection) GetProviderServices(DbConnection) GetProviderServices(DbConnection)

Returns providers given a connection.

GetSpatialDataReader(DbDataReader, String) GetSpatialDataReader(DbDataReader, String) GetSpatialDataReader(DbDataReader, String) GetSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

GetSpatialServices(String) GetSpatialServices(String) GetSpatialServices(String) GetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

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)
SetDbParameterValue(DbParameter, TypeUsage, Object) SetDbParameterValue(DbParameter, TypeUsage, Object) SetDbParameterValue(DbParameter, TypeUsage, Object) SetDbParameterValue(DbParameter, TypeUsage, Object)

Sets the parameter values for the DbProviderServices.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to