• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IDaoFactory类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例5: 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


示例6: 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


示例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


示例16: EmailMessageService

 public EmailMessageService(IConfigurationMessageService configurationService, IMessaggisticaService messaggisticaService, IDocumentService documentService, IMailService mailService, IFileTypeDetector fileTypeDetector, IDaoFactory daoFactory)
 {
     _documentService = documentService;
     _configurationService = configurationService;
     _messaggisticaService = messaggisticaService;
     _mailService = mailService;
     _fileTypeDetector = fileTypeDetector;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:9,代码来源:EmailMessageService.cs


示例17: StatoPatrimonialeService

 public StatoPatrimonialeService(IMovimentiContabiliService movimentoContabileService, IPianoContiService pianoContiService, IArchiviazioneOtticaService archiviazioneOtticaService, ISaldiCondominiService saldiCondominiService, IBilancioService bilancioService, IDaoFactory daoFactory)
 {
     _movimentoContabileService = movimentoContabileService;
     _pianoContiService = pianoContiService;
     _archiviazioneOtticaService = archiviazioneOtticaService;
     _saldiCondominiService = saldiCondominiService;
     _bilancioService = bilancioService;
     _daoFactory = daoFactory;
 }
开发者ID:gipasoft,项目名称:Sfera,代码行数:9,代码来源:StatoPatrimonialeService.cs


示例18: BilancioRipartoAggregatoService

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


示例19: MavCBIService

        public MavCBIService(INotify notifier, IVersamentiCondominiService versamentiCondominiService, IMovimentiContabiliService movimentiContabiliService, IPersonaService personaService, IDaoFactory daoFactory)
        {
            _notifier = notifier;
            _versamentiCondominiService = versamentiCondominiService;
            _movimentiContabiliService = movimentiContabiliService;
            _personaService = personaService;

            _daoFactory = daoFactory;
        }
开发者ID:gipasoft,项目名称:Sfera,代码行数:9,代码来源:MavCBIService.cs


示例20: TestFixtureSetUp

        public void TestFixtureSetUp()
        {
            //  Initialize Autofac for dependency injection.
            AutofacRegistrations.RegisterDaoFactory();
            Scope = AutofacRegistrations.Container.BeginLifetimeScope();
            DaoFactory = Scope.Resolve<IDaoFactory>();

            //  Initialize AutoMapper with Streamus' server mappings.
            WebApiApplication.CreateAutoMapperMaps();
        }
开发者ID:hihihippp,项目名称:Streamus,代码行数:10,代码来源:AbstractTest.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IData类代码示例发布时间:2022-05-24
下一篇:
C# IDamageableEntity类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap