Example #1
0
 public static IQueryProvider CreateQueryProvider <T>(ProjectionApi session)
 {
     return(new DefaultQueryProvider(typeof(ProjectionQueryable <>), QueryParser.CreateDefault(), CreateExecutor(session)));
 }
Example #2
0
 private static IQueryExecutor CreateExecutor(ProjectionApi session)
 {
     return(new ProjectionExecutor(session));
 }
Example #3
0
 public ProjectionQueryable(ProjectionApi projectionApi) : base(QueryProviderFactory.CreateQueryProvider <T>(projectionApi))
 {
 }
 public IndexProjection(ProjectionApi projectionApi)
 {
     projection = projectionApi;
 }
Example #5
0
 public ProjectionExecutor(ProjectionApi projectionsApi)
 {
     this.projectionsApi = projectionsApi;
 }
 public static ProjectionQueryable <T> Queryable <T>(ProjectionApi projectionApi)
 {
     return(new ProjectionQueryable <T>(projectionApi));
 }
 public static ProjectionQueryable <T> Query <T>(this ProjectionApi projectionApi) where T : IEvent
 {
     return(new ProjectionQueryable <T>(projectionApi));
 }