Click or drag to resize

DataSourceCommand Class

Data transfer object for one data source command and its result
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.Domain.DataAccessDataSourceCommand

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public class DataSourceCommand

The DataSourceCommand type exposes the following members.

Constructors
  NameDescription
Public methodDataSourceCommand
Initializes a new DataSourceCommand of unspecified type. The CommandType must be specified prior to execution
Top
Properties
  NameDescription
Public propertyAdditionalData
Gets or sets the additional data, used for some data access operations.
Public propertyCommandType
Gets or sets the type of the command.
Public propertyId
The value of Id column for some row operations. Valid only for some command types
Public propertyParameter
DataSet used as parameter for some command types
Public propertyQuery
The query to execute. Valid only for some command types
Public propertyResult
DataSet, which contains the result for queries, that return data. Valid only for some command types
Public propertyTableMetadataResult
Contains the returned table meta data for GetTableMetaData command type
Public propertyTableName
The table for which to retrieve data or update. Valid only for some command types
Public propertyTransactionName
Gets or sets the name of the transaction.
Top
Methods
  NameDescription
Public methodStatic memberCreateCallRemoteMethodCommand
Creates a call remote method command. The AdditionalData property contains the method name and the arguments as a comma separated list.
Public methodStatic memberCreateDeleteRowCommand
Creates a delete row command.
Public methodStatic memberCreateEvaluateDataFilterCommand
Returns new DataSourceCommand which evaluates whether a row is matched by a data filter.
Public methodStatic memberCreateGetRowCommand
Returns a get row command.
Public methodStatic memberCreateGetTableMetadataCommand
Returns new DataSourceCommand which gets the table meta-data.
Public methodStatic memberCreateQueryCommand
Creates a query command.
Public methodStatic memberCreateQueryCountCommand
Creates a COUNT command that returns the number of records returned by a query.
Public methodStatic memberCreateUpdateCommand
Creates an update command.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Remarks
DataSourceCommand is used to specify the input and output parameters of a single command to the data source. Depending on DataSourceCommandType, different properties are used to specify input and output parameters. For more information, see DataSourceCommandType or the CreateXXX static methods in this class.
See Also