The properties of the Statement class are listed below. For a complete list of Statement class members, see the Statement Members topic.
Command | The actual IDbCommand that will be called for this statement |
ExecuteStyle | A representation of the execute style expected for this statement. These are: DataReader, Scalar, NonQuery. It is assumed that GetDataSet is always possible where DataReader is the style. This method is intended for code generation purposes. If the property is set in the statement file, that setting will be used, otherwise a set of regexes in the DataFactory config file will parse the statement name and infer a statement type in the following manner. All words are case insensitive DataReader statement name contains get, query, list, select statement SQL contains select if the following scalar and non query tests don't result in a match, DataReader will be the default execute style Scalar statement name contains scalar NonQuery statement name contains update, add, create, delete, insert statement SQL contains update, insert, select into, delete |
Provider | The SnapDal Provider |
Statement Class | SnapDAL Namespace