SqlCeProviderFactory Class

Represents a set of methods for creating instances of a provider's implementation of the data source classes.

Inheritance Hierarchy

System.Object
  System.Data.Common.DbProviderFactory
    System.Data.SqlServerCe.SqlCeProviderFactory

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public NotInheritable Class SqlCeProviderFactory _
    Inherits DbProviderFactory _
    Implements IServiceProvider
'Usage
Dim instance As SqlCeProviderFactory
public sealed class SqlCeProviderFactory : DbProviderFactory, 
    IServiceProvider
public ref class SqlCeProviderFactory sealed : public DbProviderFactory, 
    IServiceProvider
[<SealedAttribute>]
type SqlCeProviderFactory =  
    class
        inherit DbProviderFactory
        interface IServiceProvider
    end
public final class SqlCeProviderFactory extends DbProviderFactory implements IServiceProvider

The SqlCeProviderFactory type exposes the following members.

Constructors

  Name Description
Public method SqlCeProviderFactory Initializes a new instance of the SqlCeProviderFactory class.

Top

Properties

  Name Description
Public property CanCreateDataSourceEnumerator (inherited from DbProviderFactory)

Top

Methods

  Name Description
Public method CreateCommand Returns a new instance of the provider's class that implements the System.Data.Common.DbCommand. (Overrides DbProviderFactory.CreateCommand().)
Public method CreateCommandBuilder Returns a new instance of the provider's class that implements the [System.Data.Common.DbCommandBuilder]. (Overrides DbProviderFactory.CreateCommandBuilder().)
Public method CreateConnection Returns a new instance of the provider's class that implements the [System.Data.Common.DbConnection]. (Overrides DbProviderFactory.CreateConnection().)
Public method CreateConnectionStringBuilder Returns a new instance of the provider's class that implements the class. (Overrides DbProviderFactory.CreateConnectionStringBuilder().)
Public method CreateDataAdapter Returns a new instance of the provider's class that implements the [System.Data.Common.DbDataAdapter]. (Overrides DbProviderFactory.CreateDataAdapter().)
Public method CreateDataSourceEnumerator (inherited from DbProviderFactory)
Public method CreateParameter Returns a new instance of the provider's class that implements the [System.Data.Common.DbParameter]. (Overrides DbProviderFactory.CreateParameter().)
Public method CreatePermission (inherited from DbProviderFactory)
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)

Top

Fields

  Name Description
Public fieldStatic member Instance An instance of SqlCeProviderFactory.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IServiceProvider.GetService Gets the service type.

Top

Thread Safety

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

See Also

Reference

System.Data.SqlServerCe Namespace