public CommonRealmStringPrimaryKeyRepository(Func <T, string> itemKeyResolver, IRealmRepositoryEntriesMapper <T, TDto> realmRepositoryEntriesMapper, IRealmProvider realmProvider)
     : base(realmRepositoryEntriesMapper, realmProvider)
 {
     _itemKeyResolver = itemKeyResolver;
 }
 public VacationRequestsRepository(IRealmRepositoryEntriesMapper <VacantionRequest, VacationRequestRealmObject> realmRepositoryEntriesMapper, IRealmProvider realmProvider)
     : base(item => item.LocalId, realmRepositoryEntriesMapper, realmProvider)
 {
 }
Example #3
0
        public CommonRealmRepository(IRealmRepositoryEntriesMapper <T, TDto> realmRepositoryEntriesMapper, IRealmProvider realmProvider)
        {
            RealmProvider = realmProvider;

            RealmRepositoryEntriesMapper = realmRepositoryEntriesMapper;
        }