Abstract super class for database implementations of the DAOs. More...
Public Member Functions | |
virtual void | AfterPropertiesSet () |
Checks that DbOperator has been correctly set. More... | |
Public Attributes | |
const string | TablePrefixSetting = "TablePrefix" |
The name of the setting for the table prefix. More... | |
const string | DefaultTablePrefix = "BATCH_" |
Default table prefix constant. More... | |
const int | DefaultExitMessageLength = 2500 |
Default exit message length constant. More... | |
Protected Member Functions | |
string | InsertTablePrefix (string query) |
Inserts the table prefix in the specified query. It uses the string.Format(string,object) syntax, and expect the prefix to be the parameter 0 ( More... | |
Static Protected Attributes | |
static readonly TransactionOptions | TransactionOptions |
The default transaction options for transaction scopes in the DAOs. More... | |
Properties | |
string | TablePrefix [get, set] |
The prefix for the batch persistence tables in the database. Default value is "BATCH_". More... | |
DbOperator | DbOperator [get, set] |
The database operator used for persistence. More... | |
IPlaceholderGetter | PlaceholderGetter [get, set] |
The parameter helper used to create parameter placeholders in queries. More... | |
Detailed Description
Abstract super class for database implementations of the DAOs.
Member Function Documentation
|
virtual |
Checks that DbOperator has been correctly set.
Implements Summer.Batch.Common.Factory.IInitializationPostOperations.
|
protected |
Inserts the table prefix in the specified query. It uses the string.Format(string,object) syntax, and expect the prefix to be the parameter 0 (
{0}
).
- Parameters
-
query the query in which to insert the table prefix
- Returns
Member Data Documentation
const int Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.DefaultExitMessageLength = 2500 |
Default exit message length constant.
const string Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.DefaultTablePrefix = "BATCH_" |
Default table prefix constant.
const string Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao.TablePrefixSetting = "TablePrefix" |
The name of the setting for the table prefix.
|
staticprotected |
The default transaction options for transaction scopes in the DAOs.
Property Documentation
|
getset |
The database operator used for persistence.
|
getset |
The parameter helper used to create parameter placeholders in queries.
|
getset |
The prefix for the batch persistence tables in the database. Default value is "BATCH_".
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Repository/Dao/AbstractDbBatchMetadataDao.cs