Data Port Sync 1.0.500

SqlCeConnection Methods

The methods of the SqlCeConnection class are listed below. For a complete list of SqlCeConnection class members, see the SqlCeConnection Members topic.

Public Instance Methods

BeginTransactionOverloaded. Begins a database transaction.
ChangeDatabase Changes the current database for an open SqlCeConnection.
Close Closes the connection.
CreateCommand Creates a SqlCeCommand object associated with this connection.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
DisposeOverloaded. Disposes of the connection object
EnlistTransaction (inherited from DbConnection)Enlists in the specified transaction.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetSchema (inherited from DbConnection)Overloaded. Returns schema information for the data source of this DbConnection.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Open Opens the connection.
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Protected Instance Methods

BeginDbTransaction Starts a transaction and returns a DbTransaction object to manage it.
CreateDbCommand Creates a DbCommand object for this connection.
DisposeOverloaded. Disposes the connection object.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
OnStateChange (inherited from DbConnection)Raises the StateChange event.

See Also

SqlCeConnection Class | Primeworks.DesktopSqlCe Namespace