コード例 #1
0
 /// <summary>
 /// Creates the step execution DAO.
 /// </summary>
 /// <returns>An instance of <see cref="DbStepExecutionDao"/>.</returns>
 protected override IStepExecutionDao CreateStepExecutionDao()
 {
     var dao = new DbStepExecutionDao
     {
         DbOperator = DbOperator,
         StepIncrementer = _incrementer,
         TablePrefix = TablePrefix,
     };
     dao.AfterPropertiesSet();
     return dao;
 }
コード例 #2
0
 /// <summary>
 /// Creates an IStepExecutionDao.
 /// </summary>
 /// <returns>IStepExecutionDao</returns>
 protected override IStepExecutionDao CreateStepExecutionDao()
 {
     DbStepExecutionDao dao = new DbStepExecutionDao
     {
         DbOperator = DbOperator,
         StepIncrementer = GetIncrementer(TablePrefix + "STEP_EXECUTION_SEQ"),
         TablePrefix = TablePrefix,
         ExitMessageLength = MaxVarCharLength
     };
     dao.AfterPropertiesSet();
     return dao;
 }