Editare

Partajați prin


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
[<System.CLSCompliant(false)>]
type SqlProviderServices = class
    inherit DbProviderServices
Public NotInheritable Class SqlProviderServices
Inherits DbProviderServices
Inheritance
SqlProviderServices
Attributes

Properties

SingletonInstance

Gets the singleton instance of SqlProviderServices.

Methods

CreateCommandDefinition(DbCommand)

Creates a command definition that uses a specified command.

(Inherited from DbProviderServices)
CreateCommandDefinition(DbCommandTree)

Creates command definition from command tree.

(Inherited from DbProviderServices)
CreateCommandDefinition(DbProviderManifest, DbCommandTree)

Creates command definition from specified manifest and command tree.

(Inherited from DbProviderServices)
CreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Creates a database indicated by connection and creates schema objects.

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

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

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

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)

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)

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)

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

(Inherited from DbProviderServices)
DbGetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

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

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.

(Inherited from DbProviderServices)
GetDbProviderManifestToken(DbConnection)

Returns provider manifest token given a connection.

(Inherited from DbProviderServices)
GetDbSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

(Inherited from DbProviderServices)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProviderManifest(String)

Returns the provider manifest by using the specified version information.

(Inherited from DbProviderServices)
GetProviderManifestToken(DbConnection)

Returns provider manifest token.

(Inherited from DbProviderServices)
GetSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

(Inherited from DbProviderServices)
GetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

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

(Inherited from DbProviderServices)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to