/// <summary>
        /// Creates an IJobInstanceDao.
        /// </summary>
        /// <returns>IJobInstanceDao</returns>
        protected override IJobInstanceDao CreateJobInstanceDao()
        {
            DbJobInstanceDao dao = new DbJobInstanceDao
            {
                DbOperator     = DbOperator,
                JobIncrementer = GetIncrementer(TablePrefix + "JOB_SEQ"),
                TablePrefix    = TablePrefix,
            };

            dao.AfterPropertiesSet();
            return(dao);
        }
Пример #2
0
        /// <summary>
        /// Creates the job instance DAO.
        /// </summary>
        /// <returns>An instance if <see cref="DbJobInstanceDao"/>.</returns>
        protected override IJobInstanceDao CreateJobInstanceDao()
        {
            var dao = new DbJobInstanceDao
            {
                DbOperator     = DbOperator,
                JobIncrementer = _incrementer,
                TablePrefix    = TablePrefix,
            };

            dao.AfterPropertiesSet();
            return(dao);
        }