SqlProviderServices SqlProviderServices SqlProviderServices SqlProviderServices Class

Definition

Important

This API is not CLS-compliant.

The DbProviderServices implementation for the SqlClient provider for SQL Server.

public ref class SqlProviderServices sealed : System::Data::Common::DbProviderServices
[System.CLSCompliant(false)]
public sealed class SqlProviderServices : System.Data.Common.DbProviderServices
type SqlProviderServices = class
    inherit DbProviderServices
Public NotInheritable Class SqlProviderServices
Inherits DbProviderServices
Inheritance
SqlProviderServicesSqlProviderServicesSqlProviderServicesSqlProviderServices
Attributes

Properties

SingletonInstance SingletonInstance SingletonInstance SingletonInstance

Gets the singleton instance of SqlProviderServices.

Methods

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

Creates a command definition that uses a specified command.

(Inherited from DbProviderServices)
CreateCommandDefinition(DbCommandTree) CreateCommandDefinition(DbCommandTree) CreateCommandDefinition(DbCommandTree) CreateCommandDefinition(DbCommandTree)

Creates command definition from command tree.

(Inherited from DbProviderServices)
CreateCommandDefinition(DbProviderManifest, DbCommandTree) CreateCommandDefinition(DbProviderManifest, DbCommandTree) CreateCommandDefinition(DbProviderManifest, DbCommandTree) CreateCommandDefinition(DbProviderManifest, DbCommandTree)

Creates command definition from specified manifest and command tree.

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

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

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

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

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

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

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

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

(Inherited from DbProviderServices)
DbGetSpatialServices(String) DbGetSpatialServices(String) DbGetSpatialServices(String) DbGetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

(Inherited from 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.

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

(Inherited from DbProviderServices)
GetDbProviderManifestToken(DbConnection) GetDbProviderManifestToken(DbConnection) GetDbProviderManifestToken(DbConnection) GetDbProviderManifestToken(DbConnection)

Returns provider manifest token given a connection.

(Inherited from DbProviderServices)
GetDbSpatialDataReader(DbDataReader, String) GetDbSpatialDataReader(DbDataReader, String) GetDbSpatialDataReader(DbDataReader, String) GetDbSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

(Inherited from DbProviderServices)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProviderManifest(String) GetProviderManifest(String) GetProviderManifest(String) GetProviderManifest(String)

Returns the provider manifest by using the specified version information.

(Inherited from DbProviderServices)
GetProviderManifestToken(DbConnection) GetProviderManifestToken(DbConnection) GetProviderManifestToken(DbConnection) GetProviderManifestToken(DbConnection)

Returns provider manifest token.

(Inherited from DbProviderServices)
GetSpatialDataReader(DbDataReader, String) GetSpatialDataReader(DbDataReader, String) GetSpatialDataReader(DbDataReader, String) GetSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

(Inherited from DbProviderServices)
GetSpatialServices(String) GetSpatialServices(String) GetSpatialServices(String) GetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

(Inherited from 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.

(Inherited from DbProviderServices)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to