SqlCeConnection Members
Represents an open connection to a data source.
The following tables list the members exposed by the SqlCeConnection type.
Name | Description | |
---|---|---|
![]() ![]() |
SqlCeConnection | Overloaded. Initializes a new instance of the SqlCeConnection class. |
Top
(see also Protected Properties )
Name | Description | |
---|---|---|
![]() ![]() |
ConnectionString | Overridden. Gets or sets the string used to open a database. |
![]() ![]() |
ConnectionTimeout | Overridden. Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. |
![]() ![]() |
Database | Overridden. Gets the name of the current database or the database to be used when a connection is open. |
![]() ![]() |
DataSource | Overridden. Gets the file name of the data source. In SQL Server Mobile, databases are always stored in separate files. |
![]() ![]() |
ServerVersion | Overridden. Returns the SQL Server Mobile version number as a string. |
![]() ![]() |
Site | Gets or sets the ISite of the Component.(Inherited from Component.) |
![]() ![]() |
State | Overridden. Gets the current state of the connection. |
Top
Name | Description | |
---|---|---|
![]() ![]() |
Events | Gets the list of event handlers that are attached to this Component.(Inherited from Component.) |
Top
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() ![]() |
BeginTransaction | Overloaded. Begins a database transaction. |
![]() ![]() |
ChangeDatabase | Overridden. Changes the current database for an open SqlCeConnection. |
![]() ![]() |
Close | Overridden. Closes the connection to the data source. This is the preferred method of closing any open connection. |
![]() ![]() |
CreateCommand | Creates and returns a SqlCeCommand object associated with the SqlCeConnection. |
![]() ![]() |
Dispose | Overloaded. Releases the resources used by the Component. (Inherited from Component.) |
![]() ![]() |
Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
![]() ![]() |
GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() ![]() |
GetSchema | Overloaded. Returns schema information for the data source of this DbConnection. (Inherited from DbConnection.) |
![]() ![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() |
Open | Overridden. Opens a database connection with the property settings specified by the ConnectionString. |
![]() ![]() ![]() |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
![]() ![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Name | Description | |
---|---|---|
![]() ![]() |
BeginDbTransaction | Starts a database transaction. (Inherited from DbConnection.) |
![]() ![]() |
CreateDbCommand | Creates and returns a DbCommand object associated with the current connection. (Inherited from DbConnection.) |
![]() ![]() |
Dispose | Overloaded. Releases the resources used by the Component. (Inherited from Component.) |
![]() ![]() |
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
![]() ![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() |
OnStateChange | Raises the StateChange event. (Inherited from DbConnection.) |
Top
Name | Description | |
---|---|---|
![]() ![]() |
Disposed | Adds an event handler to listen to the Disposed event on the component.(Inherited from Component.) |
![]() ![]() |
FlushFailure | Occurs when the background flush fails. |
![]() ![]() |
InfoMessage | Occurs when the .NET Compact Framework Data Provider for SQL Server sends a warning or an informational message. |
![]() ![]() |
StateChange | Occurs when the state of the connection changes. |
Top
Name | Description | |
---|---|---|
![]() ![]() |
System.Data.IDbConnection.BeginTransaction | Overloaded. |
![]() ![]() ![]() |
System.Data.IDbConnection.CreateCommand |
Top
SqlCeConnection Class
System.Data.SqlServerCe Namespace
SqlCeDataAdapter
SqlCeCommand Class