In The Hand LtdIn The Hand
CEConnection Class
NamespacesInTheHand.Data.WindowsCECEConnection
.NET Components for Mobility
Represents an open connection to a data source.
Declaration Syntax
C#Visual Basic
public sealed class CEConnection : DbConnection, 
	IDbConnection, IDisposable
Public NotInheritable Class CEConnection _
	Inherits DbConnection _
	Implements IDbConnection, IDisposable
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
CEConnection()()()()
Initializes a new instance of the CEConnection class.

CEConnection(String)
Initializes a new instance of the CEConnection class with the specified connection string.

BeginDbTransaction(IsolationLevel)
Not used.
(Overrides DbConnection.BeginDbTransaction(IsolationLevel).)
BeginTransaction()()()()
Starts a database transaction.
(Inherited from DbConnection.)
BeginTransaction(IsolationLevel)
Starts a database transaction with the specified isolation level.
(Inherited from DbConnection.)
CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
ChangeDatabase(String)
Changes the current database for an open CEConnection.
(Overrides DbConnection.ChangeDatabase(String).)
Close()()()()
Closes the connection to the data source.
(Overrides DbConnection.Close()()()().)
ConnectionString
Gets or sets the string used to open a database.
(Overrides DbConnection.ConnectionString.)
ConnectionTimeout
Gets the time to wait while establishing a connection before terminating the attempt and generating an error.
(Inherited from DbConnection.)
Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
CreateCommand()()()()
Creates and returns a CECommand object associated with the CEConnection.

CreateDbCommand()()()()
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
CreateTable(DataTable)
Creates a new table according to the supplied schema.

Database
Gets the name of the current database or the database to be used when a connection is open.
(Overrides DbConnection.Database.)
DataSource
Gets the name of the current database or the database to be used after a connection is opened.
(Overrides DbConnection.DataSource.)
DbProviderFactory
Gets the DbProviderFactory for this DbConnection.
(Inherited from DbConnection.)
DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Overrides Component.Dispose(Boolean).)
Dispose()()()()
Releases all resources used by the Component.
(Inherited from Component.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
EnlistTransaction(Transaction)
Enlists in the specified transaction.
(Inherited from DbConnection.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService()()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetSchema()()()()
Returns schema information for the data source of this DbConnection.
(Inherited from DbConnection.)
GetSchema(String)
Returns schema information for the data source of this DbConnection using the specified string for the schema name.
(Inherited from DbConnection.)
GetSchema(String, array<String>[]()[][])
Returns schema information for the data source of this DbConnection using the specified string for the schema name and the specified string array for the restriction values.
(Inherited from DbConnection.)
GetService(Type)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InitializeLifetimeService()()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnStateChange(StateChangeEventArgs)
Raises the StateChange event.
(Inherited from DbConnection.)
Open()()()()
Opens a database connection with the property settings specified by the ConnectionString.
(Overrides DbConnection.Open()()()().)
ServerVersion
Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
State
Gets the current state of the connection.
(Overrides DbConnection.State.)
StateChange
Occurs when the state of the event changes.
(Inherited from DbConnection.)
Tables
Returns a collection of all the tables present in the database volume.

ToString()()()()
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Inheritance Hierarchy

Assembly: InTheHand.Data (Module: InTheHand.Data) Version: 7.0.0.0