当前位置: 首页>>代码示例>>C#>>正文


C# IDaoFactory类代码示例

本文整理汇总了C#中IDaoFactory的典型用法代码示例。如果您正苦于以下问题:C# IDaoFactory类的具体用法?C# IDaoFactory怎么用?C# IDaoFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


IDaoFactory类属于命名空间,在下文中一共展示了IDaoFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: FaxMessageService

 public FaxMessageService(IMessaggisticaService messaggisticaService, IScheduler scheduler, IConfigurationMessageService configurationService, IDaoFactory daoFactory)
 {
     _messaggisticaService = messaggisticaService;
     _scheduler = scheduler;
     _configurationService = configurationService;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:7,代码来源:FaxMessageService.cs

示例2: SpesaturaUI

        public SpesaturaUI()
        {
            InitializeComponent();

            this.Icon = Gipasoft_Windows_Forms_Spesatura.moneyicon_small;

            if (!DesignMode)
            {
                try
                {
                    _container = new WindsorContainer(new XmlInterpreter());
                    _daoFactory = (IDaoFactory)_container[typeof(IDaoFactory)];
                }
                catch (Exception ex)
                {
                    throw (ex);
                }
            }

            reqNomeFile.ControlToValidate = nomeFile;
            summarySpesatura.Validators.Add(reqImportoSpesa);
            summarySpesatura.Validators.Add(reqNomeFile);
            summarySpesatura.Validators.Add(reqStabile);
            summarySpesatura.Validators.Add(reqDescrizione);
            summarySpesatura.Validators.Add(reqProvenienza);
            summarySpesatura.Validators.Add(reqTipoPratica);
            _originalHeight = this.Height;
            configBox.Expanded = false;
        }
开发者ID:gipasoft,项目名称:Sfera,代码行数:29,代码来源:SpesaturaUI.cs

示例3: FascicoloImmobiliareService

 public FascicoloImmobiliareService(IProtocolloService protocolloService, IDocumentService documentService, IArchiviazioneOtticaService archiviazioneOtticaService, IDaoFactory daoFactory)
 {
     _protocolloService = protocolloService;
     _documentService = documentService;
     _archiviazioneOtticaService = archiviazioneOtticaService;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:7,代码来源:FascicoloImmobiliareService.cs

示例4: ModelloContabileService

 public ModelloContabileService(IRipartizioneSpeseService ripartizioneSpeseService, IUtenzaService utenzaService, IPersistenceContext persistenceContext, IDaoFactory daoFactory)
 {
     _ripartizioneSpeseService = ripartizioneSpeseService;
     _utenzaService = utenzaService;
     _persistenceContext = persistenceContext;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:7,代码来源:ModelloContabileService.cs

示例5: SaldoContabileService

 public SaldoContabileService(ISoggettoService soggettoService, IPianoContiService pianoContiService, IMovimentiContabiliService movimentiContabiliService, IDaoFactory daoFactory)
 {
     _soggettoService = soggettoService;
     _pianoContiService = pianoContiService;
     _daoFactory = daoFactory;
     _movimentiContabiliService = movimentiContabiliService;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:7,代码来源:SaldoContabileService.cs

示例6: VersamentiCondominiService

 public VersamentiCondominiService(IMovimentiContabiliService movimentoContabileService, IProtocolloService protocolloService, IPianoContiService pianoContiService, IDaoFactory daoFactory)
 {
     _movimentoContabileService = movimentoContabileService;
     _protocolloService = protocolloService;
     _pianoContiService = pianoContiService;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:7,代码来源:VersamentiCondominiService.cs

示例7: GestioneFiscaleEntratelService

 public GestioneFiscaleEntratelService(IRitenutaAccontoService ritenutaService, ISpesaService spesaService, IArchiviazioneOtticaService archiviazioneService, IDaoFactory daoFactory)
 {
     _ritenutaService = ritenutaService;
     _spesaService = spesaService;
     _archiviazioneService = archiviazioneService;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:7,代码来源:GestioneFiscaleEntratelService_2010.cs

示例8: ReportEngine

 public ReportEngine(IDaoFactory daoFactory)
 {
     reportDao = daoFactory.GetReportDao();
     projectDao = daoFactory.GetProjectDao();
     taskDao = daoFactory.GetTaskDao();
     milestoneDao = daoFactory.GetMilestoneDao();
 }
开发者ID:ridhouan,项目名称:teamlab.v6.5,代码行数:7,代码来源:ReportEngine.cs

示例9: LetteraMessageService

 public LetteraMessageService(IMessaggisticaService messaggisticaService, IConfigurationMessageService configurationService, IConverter converter, IDaoFactory daoFactory)
 {
     _messaggisticaService = messaggisticaService;
     _configurationService = configurationService;
     _converter = converter;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:7,代码来源:LetteraMessageService.cs

示例10: CompetenzeService

 public CompetenzeService(ISoggettoService soggettoService, IMovimentiContabiliService movimentiContabiliService, IArchiviazioneOtticaService archiviazioneOtticaService, IProtocolloService protocolloService, IDaoFactory daofactory)
 {
     _soggettoService = soggettoService;
     _movimentiContabiliService = movimentiContabiliService;
     _archiviazioneOtticaService = archiviazioneOtticaService;
     _protocolloService = protocolloService;
     _daoFactory = daofactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:8,代码来源:CompetenzeService.cs

示例11: StreamusManagerFactory

        public StreamusManagerFactory(ILog logger, IDaoFactory daoFactory)
        {
            if (logger == null) throw new NullReferenceException("logger");
            if (daoFactory == null) throw new NullReferenceException("daoFactory");

            Logger = logger;
            DaoFactory = daoFactory;
        }
开发者ID:zeemEU,项目名称:StreamusServer,代码行数:8,代码来源:StreamusManagerFactory.cs

示例12: MovimentiContabiliService

 public MovimentiContabiliService(IRipartizioneSpeseService ripartizioneService, IPianoContiService pianoContiService, IArchiviazioneOtticaService archiviazioneOtticaService, ICondominioService condominioService, IDaoFactory daoFactory)
 {
     _ripartizioneService = ripartizioneService;
     _pianoContiService = pianoContiService;
     _archiviazioneOtticaService = archiviazioneOtticaService;
     _condominioService = condominioService;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:8,代码来源:MovimentiContabiliService.cs

示例13: SetUp

        public void SetUp()
        {
            HttpSimulator = new HttpSimulator().SimulateRequest();

            Logger = DependencyResolver.Current.GetService<ILog>();
            DaoFactory = DependencyResolver.Current.GetService<IDaoFactory>();
            Session = DependencyResolver.Current.GetService<ISession>();
            ManagerFactory = DependencyResolver.Current.GetService<IManagerFactory>();
        }
开发者ID:zeemEU,项目名称:StreamusServer,代码行数:9,代码来源:StreamusTest.cs

示例14: ArchivaDocument

 public ArchivaDocument(string documentRepository, string cacheRepository, IDocumentService documentService, ISpesaService spesaService, IMovimentiContabiliService movimentiContabiliService, IDaoFactory daoFactory)
 {
     _spesaService = spesaService;
     _movimentiContabiliService = movimentiContabiliService;
     _documentoRepository = documentRepository;
     _cacheRepository = cacheRepository;
     _documentService = documentService;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:9,代码来源:ArchivaDocument.cs

示例15: BilancioService

 public BilancioService(IDocumentService documentService, IMillesimiService millesimiService, IVersamentiCondominiService versamentiCondominiService, IRipartizioneSpeseService ripartizioneService, ISaldoContabileService saldoContabileService, ISpesaService spesaService, ISoggettoService soggettoService, IDaoFactory daoFactory)
 {
     _documentService = documentService;
     _ripartizioneService = ripartizioneService;
     _versamentiCondominiService = versamentiCondominiService;
     _millesimiService = millesimiService;
     _spesaService = spesaService;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:9,代码来源:BilancioService.cs


注:本文中的IDaoFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。