Export (0) Print
Expand All

SqlProviderServices Class

.NET Framework 4.5

The DbProviderServices implementation for the SqlClient provider for SQL Server.

This API is not CLS-compliant. 

System.Object
  System.Data.Common.DbProviderServices
    System.Data.SqlClient.SqlProviderServices

Namespace:  System.Data.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[CLSCompliantAttribute(false)]
public sealed class SqlProviderServices : DbProviderServices

The SqlProviderServices type exposes the following members.

  NameDescription
Public propertyStatic memberSingletonInstanceGets the singleton instance of SqlProviderServices.
Top

  NameDescription
Public methodCreateCommandDefinition(DbCommand)Creates a command definition that uses a specified command. (Inherited from DbProviderServices.)
Public methodCreateCommandDefinition(DbCommandTree)Creates command definition from command tree. (Inherited from DbProviderServices.)
Public methodCreateCommandDefinition(DbProviderManifest, DbCommandTree)Creates command definition from specified manifest andcommand tree. (Inherited from DbProviderServices.)
Public methodCreateDatabaseCreates a database indicated by connection and creates schema objects. (Inherited from DbProviderServices.)
Public methodCreateDatabaseScriptGenerates a data definition langauge (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.)
Public methodDatabaseExistsReturns 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.)
Public methodDeleteDatabaseDeletes all store objects specified in the store item collection from the database and the database itself. (Inherited from DbProviderServices.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetProviderManifestReturns the provider manifest by using the specified version information. (Inherited from DbProviderServices.)
Public methodGetProviderManifestTokenReturns provider manifest token. (Inherited from DbProviderServices.)
Public methodGetSpatialDataReaderGets the spatial data reader for the DbProviderServices. (Inherited from DbProviderServices.)
Public methodGetSpatialServicesGets the spatial services for the DbProviderServices. (Inherited from DbProviderServices.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.6, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft