AccessorFactory | The factory which build IAccessor |
DataExchangeFactory | Factory for DataExchange objects |
DataSource | Gets or sets the data source. |
Id | Name used to identify the the SqlMapper |
IsCacheModelsEnabled | A flag that determines whether cache models were enabled when this SqlMap was built. |
IsSessionStarted | Gets a value indicating whether this instance is session started. |
LocalSession | Returns the DalSession instance currently being used by the SqlMap. |
MappedStatements | The MappedStatements collection |
ObjectFactory | The meta factory for object factory |
ParameterMaps | The ParameterMap collection |
ResultMaps | The ResultMap collection |
SessionStore | Allow to set a custom session store like the HybridWebThreadSessionStore |
TypeHandlerFactory | The TypeHandlerFactory |
AddCache | Adds a (named) cache. |
AddMappedStatement | Adds a (named) MappedStatement. |
AddParameterMap | Adds a (named) ParameterMap. |
AddResultMap | Adds a (named) ResultMap |
BeginTransaction | Overloaded. Begins the transaction. |
CloseConnection | Closes the connection. |
CommitTransaction | Overloaded. Commits the transaction. |
CreateSqlMapSession | Creates a new SqlMapSession that will be used to query the data source. |
Delete | Executes a Sql DELETE statement. Delete returns the number of rows effected. |
FlushCaches | Flushes all cached objects that belong to this SqlMap |
GetCache | Gets a cache by name |
GetDataCacheStats | Gets the data cache stats. |
GetMappedStatement | Gets a MappedStatement by name |
GetParameterMap | Get a ParameterMap by name |
GetResultMap | Gets a ResultMap by name |
Insert | Executes a Sql INSERT statement. Insert is a bit different from other update methods, as it provides facilities for returning the primary key of the newly inserted row (rather than the effected rows). This functionality is of course optional. The parameter object is generally used to supply the input data for the INSERT values. |
OpenConnection | Overloaded. Opens the connection. |
QueryForDictionary | Overloaded. Executes the SQL and retuns all rows selected in a map that is keyed on the property named in the keyProperty parameter. The value at each key will be the value of the property specified in the valueProperty parameter. If valueProperty is null, the entire result object will be entered. |
QueryForList | Overloaded. Executes a Sql SELECT statement that returns data to populate a number of result objects. The parameter object is generally used to supply the input data for the WHERE clause parameter(s) of the SELECT statement. |
QueryForMap | Overloaded. Executes the SQL and retuns all rows selected in a map that is keyed on the property named in the keyProperty parameter. The value at each key will be the entire result object. |
QueryForMapWithRowDelegate | Runs a query with a custom object that gets a chance to deal with each row as it is processed. The parameter object is generally used to supply the input data for the WHERE clause parameter(s) of the SELECT statement. |
QueryForObject | Overloaded. Executes a Sql SELECT statement that returns a single object of the type of the resultObject parameter. |
QueryForPaginatedList | Obsolete. Executes the SQL and retuns a subset of the results in a dynamic PaginatedList that can be used to automatically scroll through results from a database table. |
QueryWithRowDelegate | Overloaded. Runs a query for list with a custom object that gets a chance to deal with each row as it is processed. The parameter object is generally used to supply the input data for the WHERE clause parameter(s) of the SELECT statement. |
RollBackTransaction | Overloaded. Rolls the back transaction. |
Update | Executes a Sql UPDATE statement. Update can also be used for any other update statement type, such as inserts and deletes. Update returns the number of rows effected. The parameter object is generally used to supply the input data for the UPDATE values as well as the WHERE clause parameter(s). |
ISqlMapper Interface | IBatisNet.DataMapper Namespace