public static IQueryProvider CreateQueryProvider <T>(ProjectionApi session) { return(new DefaultQueryProvider(typeof(ProjectionQueryable <>), QueryParser.CreateDefault(), CreateExecutor(session))); }
private static IQueryExecutor CreateExecutor(ProjectionApi session) { return(new ProjectionExecutor(session)); }
public ProjectionQueryable(ProjectionApi projectionApi) : base(QueryProviderFactory.CreateQueryProvider <T>(projectionApi)) { }
public IndexProjection(ProjectionApi projectionApi) { projection = projectionApi; }
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)); }