SqlCeProviderServices Class

 

The ProviderServices object for the Sql CE provider

Namespace:   System.Data.Entity.SqlServerCompact
Assembly:  EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.dll)

System.Object
  System.Data.Entity.Core.Common.DbProviderServices
    System.Data.Entity.SqlServerCompact.SqlCeProviderServices

public sealed class SqlCeProviderServices : DbProviderServices

NameDescription
System_CAPS_pubmethodCreateCommandDefinition(DbCommand)

Creates the default DbCommandDefinition object based on the prototype command This method is intended for provider writers to build a default command definition from a command. Note: This will clone the prototype(Inherited from DbProviderServices.)

System_CAPS_pubmethodCreateCommandDefinition(DbCommandTree)

Creates a Command Definition object given a command tree.(Inherited from DbProviderServices.)

System_CAPS_pubmethodCreateCommandDefinition(DbProviderManifest, DbCommandTree)

Creates command definition from specified manifest and command tree.(Inherited from DbProviderServices.)

System_CAPS_pubmethodCreateDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Creates a database indicated by connection and creates schema objects (tables, primary keys, foreign keys) based on the contents of storeItemCollection.(Inherited from DbProviderServices.)

System_CAPS_pubmethodCreateDatabaseScript(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.)

System_CAPS_pubmethodDatabaseExists(DbConnection, Nullable<Int32>, Lazy<StoreItemCollection>)

Returns a value indicating whether a given database exists on the server.(Inherited from DbProviderServices.)

System_CAPS_pubmethodDatabaseExists(DbConnection, Nullable<Int32>, StoreItemCollection)

Returns a value indicating whether a given database exists on the server.(Inherited from DbProviderServices.)

System_CAPS_pubmethodDeleteDatabase(DbConnection, Nullable<Int32>, StoreItemCollection)

Deletes the specified database.(Inherited from DbProviderServices.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetProviderManifest(String)

Returns the provider manifest by using the specified version information.(Inherited from DbProviderServices.)

System_CAPS_pubmethodGetProviderManifestToken(DbConnection)

Returns provider manifest token given a connection.(Inherited from DbProviderServices.)

System_CAPS_pubmethodGetService(Type, Object)

Called to resolve additional default provider services when a derived type is registered as an EF provider either using an entry in the application's config file or through code-based registration in DbConfiguration. The implementation of this method in this class uses the resolvers added with the AddDependencyResolver method to resolve dependencies.(Inherited from DbProviderServices.)

System_CAPS_pubmethodGetServices(Type, Object)

Called to resolve additional default provider services when a derived type is registered as an EF provider either using an entry in the application's config file or through code-based registration in DbConfiguration. The implementation of this method in this class uses the resolvers added with the AddDependencyResolver method to resolve dependencies.(Inherited from DbProviderServices.)

System_CAPS_pubmethodGetSpatialDataReader(DbDataReader, String)

Gets the spatial data reader for the DbProviderServices.(Inherited from DbProviderServices.)

System_CAPS_pubmethodGetSpatialServices(DbProviderInfo)

Gets the spatial services for the DbProviderServices.(Inherited from DbProviderServices.)

System_CAPS_pubmethodGetSpatialServices(String)

Obsolete.Gets the spatial services for the DbProviderServices.(Inherited from DbProviderServices.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRegisterInfoMessageHandler(DbConnection, Action<String>)

Registers a handler to process non-error messages coming from the database provider.(Overrides DbProviderServices.RegisterInfoMessageHandler(DbConnection, Action<String>).)

System_CAPS_pubmethodSetParameterValue(DbParameter, TypeUsage, Object)

Sets the parameter value and appropriate facets for the given TypeUsage.(Inherited from DbProviderServices.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticInstance

Singleton object;

System_CAPS_pubfieldSystem_CAPS_staticProviderInvariantName

This is the well-known string using in configuration files and code-based configuration as the "provider invariant name" used to specify Microsoft SQL Server Compact Edition 4.0 for ADO.NET and Entity Framework provider services.

NameDescription
System_CAPS_pubmethodGetService(Type)

Overloaded. Calls GetService passing the given type argument and using null for the name argument.(Defined by DbDependencyResolverExtensions.)

System_CAPS_pubmethodGetService<T>()

Overloaded. Calls GetService passing the generic type of the method as the type argument and null for the name argument.(Defined by DbDependencyResolverExtensions.)

System_CAPS_pubmethodGetService<T>(Object)

Overloaded. Calls GetService passing the generic type of the method and the given name as arguments.(Defined by DbDependencyResolverExtensions.)

System_CAPS_pubmethodGetServices(Type)

Overloaded. Calls GetServices passing the given type argument and using null for the name argument.(Defined by DbDependencyResolverExtensions.)

System_CAPS_pubmethodGetServices<T>()

Overloaded. Calls GetServices passing the generic type of the method as the type argument and null for the name argument.(Defined by DbDependencyResolverExtensions.)

System_CAPS_pubmethodGetServices<T>(Object)

Overloaded. Calls GetServices passing the generic type of the method and the given name as arguments.(Defined by DbDependencyResolverExtensions.)

Note that instance of this type also resolves additional provider services for Microsoft SQL Server Compact Edition when this type is registered as an EF provider either using an entry in the application's config file or through code-based registration in DbConfiguration. The services resolved are: Requests for IDbConnectionFactory are resolved to a Singleton instance of SqlCeConnectionFactory to create connections to SQL Compact by default. Requests for MigrationSqlGenerator for the invariant name "System.Data.SqlServerCe.4.0" are resolved to SqlCeMigrationSqlGenerator instances to provide default Migrations SQL generation for SQL Compact.

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