DbProviderServices Class

DbProviderServices Class

.NET Framework (current version)
 

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

This API is not CLS-compliant.

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

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

[CLSCompliantAttribute(false)]
public abstract class DbProviderServices

NameDescription
System_CAPS_protmethodDbProviderServices()

Initializes a new instance of the DbProviderServices class.

NameDescription
System_CAPS_pubmethodCreateCommandDefinition(DbCommand)

Creates a command definition that uses a specified command.

System_CAPS_pubmethodCreateCommandDefinition(DbCommandTree)

Creates command definition from command tree.

System_CAPS_pubmethodCreateCommandDefinition(DbProviderManifest, DbCommandTree)

Creates command definition from specified manifest andcommand tree.

System_CAPS_pubmethodCreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Creates a database indicated by connection and creates schema objects.

System_CAPS_pubmethodCreateDatabaseScript(String, StoreItemCollection)

Generates 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.

System_CAPS_protmethodCreateDbCommandDefinition(DbProviderManifest, DbCommandTree)

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

System_CAPS_pubmethodDatabaseExists(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.

System_CAPS_protmethodDbCreateDatabase(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.

System_CAPS_protmethodDbCreateDatabaseScript(String, StoreItemCollection)

Generates 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.

System_CAPS_protmethodDbDatabaseExists(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.

System_CAPS_protmethodDbDeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

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

System_CAPS_protmethodDbGetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

System_CAPS_pubmethodDeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodGetDbProviderManifest(String)

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

System_CAPS_protmethodGetDbProviderManifestToken(DbConnection)

Returns provider manifest token given a connection.

System_CAPS_protmethodGetDbSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetProviderFactory(DbConnection)

Retrieves the DbProviderFactory based on the specified DbConnection.

System_CAPS_pubmethodGetProviderManifest(String)

Returns the provider manifest by using the specified version information.

System_CAPS_pubmethodGetProviderManifestToken(DbConnection)

Returns provider manifest token.

System_CAPS_pubmethodSystem_CAPS_staticGetProviderServices(DbConnection)

Returns providers given a connection.

System_CAPS_pubmethodGetSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.

System_CAPS_pubmethodGetSpatialServices(String)

Gets the spatial services for the DbProviderServices.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodSetDbParameterValue(DbParameter, TypeUsage, Object)

Sets the parameter values for the DbProviderServices.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

No content here will be updated; please do not add material here.

.NET Framework
Available since 3.5

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

Return to top
Show:
© 2016 Microsoft