Esempio n. 1
0
 public PersonSearch(ISecurity security)
 {
     _security = security;
     _personDal = new PersonDal();
     _sourceMappingsDal = new SourceMappingsDal();
       //  _relationsDal = new RelationsDal();
 }
 public SourcePersonWriter(List<Source> sources)
 {
     _sources = sources;
     _batchDal = new BatchDal();
     _sourceDal = new SourceDal();
     _sourceMappingDal = new SourceMappingsDal();
     _personDal = new PersonDal();
 }
 public TestController2(IMarriagesDal iMarriagesDal,
     IMarriageWitnessesDal iMarriageWitnessesDal,
     ISourceDal iSourceDal,
     ISourceMappingsDal iSourceMappingsDal,
     IPersonDal iPersonDal,
     ISecurity iSecurity)
 {
     _marriageSearch = new MarriageSearch(iSecurity,
         iMarriagesDal,
         iMarriageWitnessesDal, iSourceDal, iSourceMappingsDal, iPersonDal);
 }
 public MarriageService(IMarriagesDal iMarriagesDal,
     IMarriageWitnessesDal iMarriageWitnessesDal,
     ISourceDal iSourceDal, 
     ISourceMappingsDal iSourceMappingsDal,
     IPersonDal iPersonDal,
     ISecurity iSecurity)
 {
     _marriageSearch = new MarriageSearch(iSecurity,
         iMarriagesDal,
         iMarriageWitnessesDal,iSourceDal, iSourceMappingsDal,iPersonDal);
 }
 public MarriageSearch(ISecurity security, 
     IMarriagesDal iMarriagesDal,
     IMarriageWitnessesDal imarriageWitnessesDll,
     ISourceDal isourceDll,
     ISourceMappingsDal isourceMappingsDll,
     IPersonDal ipersonDal)
 {
     _security = security;
     _marriagesDll = iMarriagesDal;
     _marriageWitnessesDll = imarriageWitnessesDll;
     _sourceDll = isourceDll;
     _sourceMappingsDal = isourceMappingsDll;
     _personDal = ipersonDal;
 }
Esempio n. 6
0
        public CsImportCsv()
        {
            _parishsDal = new ParishsDal();
            _batchDal = new BatchDal();

            _sourceDal = new SourceDal();
            _sourceMappingParishDal = new SourceMappingParishsDal();

            _sourceMappingsDal = new SourceMappingsDal();
            _marriagesDal = new MarriagesDal();
            _sourceMappingDal = new SourceMappingsDal();
            _personDal = new PersonDal();
            _mwits = new MarriageWitnessesDal();
        }
 public BatchController(ISourceTypesDal isSourceTypesDal,
                     ISecurity iSecurity,
                     IParishsDal parishsDal,
                     ISourceMappingsDal sourceMappingDal,
                     IPersonDal personDal,
                     ISourceDal sourceDal,
                     ISourceMappingParishsDal sourceMappingParishDal,
                     ISourceMappingsDal sourceMappingsDal,
                     IMarriagesDal marriagesDal,
                     IMarriageWitnessesDal mwits,
                     IBatchDal iBatch)
 {
     _batchSearch = new BatchSearch(new Security(new WebUser()),
         iBatch, parishsDal, sourceMappingDal, personDal, sourceDal, sourceMappingParishDal, sourceMappingsDal, marriagesDal, mwits);
 }
Esempio n. 8
0
        private void DataPortal_Fetch()
        {
            bool rlce = RaiseListChangedEvents;

            RaiseListChangedEvents = false;
            IsReadOnly             = false;

            using (var dalManager = DalFactory.GetManager()) {
                IPersonDal        dal  = dalManager.GetProvider <IPersonDal>();
                IList <PersonDto> data = dal.Fetch();

                foreach (var item in data)
                {
                    Add(DataPortal.FetchChild <PersonInfo>(item));
                }
            }
        }
Esempio n. 9
0
 public BatchSearch(ISecurity security, IBatchDal iBatchDal, IParishsDal parishsDal,
                                                         ISourceMappingsDal sourceMappingDal,
                                                         IPersonDal personDal,        
                                                         ISourceDal sourceDal,
                                                         ISourceMappingParishsDal sourceMappingParishDal,
                                                         ISourceMappingsDal sourceMappingsDal,
                                                         IMarriagesDal marriagesDal,
                                                         IMarriageWitnessesDal mwits)
 {
     _security = security;
     _batchDal = iBatchDal;
     _parishsDal = parishsDal;
     _sourceDal = sourceDal;
     _sourceMappingParishDal = sourceMappingParishDal;
     _sourceMappingsDal = sourceMappingDal;
     _marriagesDal = marriagesDal;
     _sourceMappingDal = sourceMappingsDal;
     _personDal = personDal;
     _mwits = mwits;
 }
Esempio n. 10
0
 public PersonManager(IPersonDal personDal, IFamilyManager familyManager)
 {
     _personDal     = personDal;
     _familyManager = familyManager;
 }
Esempio n. 11
0
 public CustomerManager(IPersonDal personDal, IOptions <AppSettings> appSettings) : base(personDal, appSettings)
 {
 }
Esempio n. 12
0
 /* private readonly IQueryableRepository<Person> _queryable; */
 public PersonManager(IPersonDal personDal /* IQueryableRepository<Person> queryable */)
 {
     /* _queryable = queryable; */
     _personDal = personDal;
 }
Esempio n. 13
0
 public PersonService(IPersonDal personDal, IOptions <AppSettings> appSettings)
 {
     _personDal   = personDal;
     _appSettings = appSettings.Value;
 }
Esempio n. 14
0
 public PersonManager(IPersonDal personDal)
 {
     _personDal = personDal;
 }
Esempio n. 15
0
 public PersonSearch(ISecurity security, IPersonDal iPersonDal, ISourceMappingsDal iSourceMappingsDal)
 {
     _security = security;
     _personDal = iPersonDal;
     _sourceMappingsDal = iSourceMappingsDal;
 }
Esempio n. 16
0
 public PersonManager(IPersonDal personDal, IKpsService kpsService)
 {
     _personDal  = personDal;
     _kpsService = kpsService;
 }
Esempio n. 17
0
 /* private readonly IQueryableRepository<Book> _queryable; */
 public BookManager(IBookDal bookDal, IPersonDal personDal /*IQueryableRepository<Book> queryable */)
 {
     _personDal = personDal;
     /*_queryable = queryable; */
     _bookDal = bookDal;
 }
Esempio n. 18
0
 public PersonService(IPersonDal personDal)
 {
     _personDal = personDal;
 }
 public PersonsController(IPersonDal iPersonDal,            
     ISourceMappingsDal iSourceMappingsDal,
     ISecurity iSecurity)
 {
     _personSearch = new PersonSearch(iSecurity, iPersonDal, iSourceMappingsDal);
 }