SqlCeCommand Members
Represents an SQL statement to execute against a data source.
The following tables list the members exposed by the SqlCeCommand type.
Public Constructors
Name | Description | |
---|---|---|
SqlCeCommand | Overloaded. Initializes a new instance of the SqlCeCommand class. |
Top
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
CommandText | Overridden. Gets or sets an SQL statement to execute at the data source. | |
CommandTimeout | Overridden. Gets or sets the wait time before terminating the attempt to execute a command and generating an error. | |
CommandType | Overridden. Gets or sets a value indicating how the CommandText property is interpreted. | |
Connection | Gets or sets the SqlCeConnection used by this instance of the SqlCeCommand. | |
DesignTimeVisible | Overridden. Get always returns false; set always throws a NotSupportedException. | |
IndexName | Specifies the index to be opened. | |
Parameters | Gets the SqlCeParameterCollection. | |
Site | Gets or sets the ISite of the Component.(Inherited from Component.) | |
Transaction | Gets or sets the transaction in which the SqlCeCommand executes. | |
UpdatedRowSource | Overridden. Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter. This property should not be used with the .NET Compact Framework Data Provider for SQL Server Mobile. |
Top
Protected Properties
Name | Description | |
---|---|---|
DbConnection | Gets or sets the DbConnection used by this DbCommand.(Inherited from DbCommand.) | |
DbParameterCollection | Gets the collection of DbParameter objects.(Inherited from DbCommand.) | |
DbTransaction | Gets or sets the DbTransaction within which this DbCommand object executes.(Inherited from DbCommand.) | |
Events | Gets the list of event handlers that are attached to this Component.(Inherited from Component.) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Cancel | Overridden. Attempts to cancel the execution of a SqlCeCommand. | |
CreateParameter | Creates a new instance of a SqlCeParameter object. | |
Dispose | Overloaded. Releases the resources used by the Component. (Inherited from Component.) | |
Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) | |
ExecuteNonQuery | Overridden. Executes an SQL statement against the SqlCeConnection and returns the number of rows affected. | |
ExecuteReader | Overloaded. Sends the CommandText to the Connection and builds a SqlCeDataReader. | |
ExecuteResultSet | Overloaded. Sends the CommandText to the Connection and builds a SqlCeResultSet. | |
ExecuteScalar | Overridden. Executes the query and returns the first column of the first row in the result set that is returned by the query. Extra columns or rows are ignored. | |
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.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Prepare | Overridden. Creates a prepared (or compiled) version of the command on the data source. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) | |
SetRange | Restricts the set of rows that will be read by the SqlCeDataReader. | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Protected Methods
Name | Description | |
---|---|---|
CreateDbParameter | Creates a new instance of a DbParameter object. (Inherited from DbCommand.) | |
Dispose | Overloaded. Releases the resources used by the Component. (Inherited from Component.) | |
ExecuteDbDataReader | Executes the command text against the connection. (Inherited from DbCommand.) | |
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.) |
Top
Public Events
Name | Description | |
---|---|---|
Disposed | Adds an event handler to listen to the Disposed event on the component.(Inherited from Component.) |
Top
Explicit Interface Implementations
Top
See Also
Reference
SqlCeCommand Class
System.Data.SqlServerCe Namespace
SqlCeDataAdapter
SqlCeConnection