public DataSetDetailService(ISystemConfigurationService systemConfigurationService
                             , IRepository <DataSetDetail> repository
                             , IDataSetSchemaService dataSetSchemaService
                             , IDataSetDetailSqlRepo dataSetDetailSqlRepo, ISqlOrderByColumnAndDirectionFormatter sqlOrderByTextFormatter)
 {
     _systemConfigurationService = systemConfigurationService;
     _repository              = repository;
     _dataSetSchemaService    = dataSetSchemaService;
     _dataSetDetailSqlRepo    = dataSetDetailSqlRepo;
     _sqlOrderByTextFormatter = sqlOrderByTextFormatter;
 }
Esempio n. 2
0
        public void TestInit()
        {
            _repositoryDataSetDetail = new MemoryRepository <DataSetDetail>();
            //_fakecacheprovider = new FakeCacheProvider();
            ObjectFactory.Initialize(
                x =>
            {
                x.For <IUnitOfWorkFactory>().Use <MemoryUnitOfWorkFactory>();
            }

                );
            _sqlColumnTextFormatter = new SqlOrderByColumnAndDirectionFormatter();
        }