本文整理汇总了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;
}
示例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;
}
示例3: FascicoloImmobiliareService
public FascicoloImmobiliareService(IProtocolloService protocolloService, IDocumentService documentService, IArchiviazioneOtticaService archiviazioneOtticaService, IDaoFactory daoFactory)
{
_protocolloService = protocolloService;
_documentService = documentService;
_archiviazioneOtticaService = archiviazioneOtticaService;
_daoFactory = daoFactory;
}
示例4: ModelloContabileService
public ModelloContabileService(IRipartizioneSpeseService ripartizioneSpeseService, IUtenzaService utenzaService, IPersistenceContext persistenceContext, IDaoFactory daoFactory)
{
_ripartizioneSpeseService = ripartizioneSpeseService;
_utenzaService = utenzaService;
_persistenceContext = persistenceContext;
_daoFactory = daoFactory;
}
示例5: SaldoContabileService
public SaldoContabileService(ISoggettoService soggettoService, IPianoContiService pianoContiService, IMovimentiContabiliService movimentiContabiliService, IDaoFactory daoFactory)
{
_soggettoService = soggettoService;
_pianoContiService = pianoContiService;
_daoFactory = daoFactory;
_movimentiContabiliService = movimentiContabiliService;
}
示例6: VersamentiCondominiService
public VersamentiCondominiService(IMovimentiContabiliService movimentoContabileService, IProtocolloService protocolloService, IPianoContiService pianoContiService, IDaoFactory daoFactory)
{
_movimentoContabileService = movimentoContabileService;
_protocolloService = protocolloService;
_pianoContiService = pianoContiService;
_daoFactory = daoFactory;
}
示例7: GestioneFiscaleEntratelService
public GestioneFiscaleEntratelService(IRitenutaAccontoService ritenutaService, ISpesaService spesaService, IArchiviazioneOtticaService archiviazioneService, IDaoFactory daoFactory)
{
_ritenutaService = ritenutaService;
_spesaService = spesaService;
_archiviazioneService = archiviazioneService;
_daoFactory = daoFactory;
}
示例8: ReportEngine
public ReportEngine(IDaoFactory daoFactory)
{
reportDao = daoFactory.GetReportDao();
projectDao = daoFactory.GetProjectDao();
taskDao = daoFactory.GetTaskDao();
milestoneDao = daoFactory.GetMilestoneDao();
}
示例9: LetteraMessageService
public LetteraMessageService(IMessaggisticaService messaggisticaService, IConfigurationMessageService configurationService, IConverter converter, IDaoFactory daoFactory)
{
_messaggisticaService = messaggisticaService;
_configurationService = configurationService;
_converter = converter;
_daoFactory = daoFactory;
}
示例10: CompetenzeService
public CompetenzeService(ISoggettoService soggettoService, IMovimentiContabiliService movimentiContabiliService, IArchiviazioneOtticaService archiviazioneOtticaService, IProtocolloService protocolloService, IDaoFactory daofactory)
{
_soggettoService = soggettoService;
_movimentiContabiliService = movimentiContabiliService;
_archiviazioneOtticaService = archiviazioneOtticaService;
_protocolloService = protocolloService;
_daoFactory = daofactory;
}
示例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;
}
示例12: MovimentiContabiliService
public MovimentiContabiliService(IRipartizioneSpeseService ripartizioneService, IPianoContiService pianoContiService, IArchiviazioneOtticaService archiviazioneOtticaService, ICondominioService condominioService, IDaoFactory daoFactory)
{
_ripartizioneService = ripartizioneService;
_pianoContiService = pianoContiService;
_archiviazioneOtticaService = archiviazioneOtticaService;
_condominioService = condominioService;
_daoFactory = daoFactory;
}
示例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>();
}
示例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;
}
示例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;
}