DbProviderServices Class
.NET Framework 4.5
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)
The DbProviderServices type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CreateCommandDefinition(DbCommand) | Creates a command definition that uses a specified command. |
![]() | CreateCommandDefinition(DbCommandTree) | Creates command definition from command tree. |
![]() | CreateCommandDefinition(DbProviderManifest, DbCommandTree) | Creates command definition from specified manifest andcommand tree. |
![]() | CreateDatabase | Creates a database indicated by connection and creates schema objects. |
![]() | CreateDatabaseScript | 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. |
![]() | CreateDbCommandDefinition | Creates a command definition object for the specified provider manifest and command tree. |
![]() | DatabaseExists | Returns a value indicating whether a given database exists on the server and whether schema objects contained in the storeItemCollection have been created. |
![]() | DbCreateDatabase | Creates a database indicated by connection and creates schema objects (tables, primary keys, foreign keys) based on the contents of a StoreItemCollection. |
![]() | DbCreateDatabaseScript | 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. |
![]() | DbDatabaseExists | Returns a value indicating whether a given database exists on the server and whether schema objects contained in the storeItemCollection have been created. |
![]() | DbDeleteDatabase | Deletes all store objects specified in the store item collection from the database and the database itself. |
![]() | DbGetSpatialServices | Gets the spatial services for the DbProviderServices. |
![]() | DeleteDatabase | Deletes all store objects specified in the store item collection from the database and the database itself. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDbProviderManifest | When overridden in a derived class, returns an instance of a class that derives from the DbProviderManifest. |
![]() | GetDbProviderManifestToken | Returns provider manifest token given a connection. |
![]() | GetDbSpatialDataReader | Gets the spatial data reader for the DbProviderServices. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetProviderFactory | Retrieves the DbProviderFactory based on the specified DbConnection. |
![]() | GetProviderManifest | Returns the provider manifest by using the specified version information. |
![]() | GetProviderManifestToken | Returns provider manifest token. |
![]() ![]() | GetProviderServices | Returns providers given a connection. |
![]() | GetSpatialDataReader | Gets the spatial data reader for the DbProviderServices. |
![]() | GetSpatialServices | Gets the spatial services for the 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 | Sets the parameter values for the DbProviderServices. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.
