public ReadonlyEntityRepositoryGroup(IEnumerable <AbstractReadonlyEntityRepository> childRepositories, IEnumerable <AbstractReadonlyRevisionRepository <TypedEntity> > childRevisionSessions, IEnumerable <AbstractReadonlySchemaRepository> childSchemaSessions, IEnumerable <AbstractReadonlyRevisionRepository <EntitySchema> > childSchemaRevisionSessions, Uri idRoot, AbstractScopedCache scopedCache, IFrameworkContext context, RepositoryContext hiveContext) : base(childRepositories, idRoot, scopedCache, hiveContext) { ChildSessions = childRepositories; Revisions = new ReadonlyRevisionRepositoryGroup <TFilter, TypedEntity>(childRevisionSessions, IdRoot, scopedCache, hiveContext); Schemas = new ReadonlySchemaRepositoryGroup <TFilter>(childSchemaSessions, childSchemaRevisionSessions, IdRoot, scopedCache, hiveContext); FrameworkContext = context; }
public ReadonlySchemaRepositoryGroup(IEnumerable <AbstractReadonlySchemaRepository> childRepositories, IEnumerable <AbstractReadonlyRevisionRepository <EntitySchema> > childRevisionSessions, Uri idRoot, AbstractScopedCache scopedCache, RepositoryContext hiveContext) : base(childRepositories, idRoot, scopedCache, hiveContext) { ChildSessions = childRepositories; Revisions = new ReadonlyRevisionRepositoryGroup <TFilter, EntitySchema>(childRevisionSessions, IdRoot, scopedCache, hiveContext); }