Example #1
0
            public IncludedDocumentStatement(IDocumentStorage <T> storage, IncludePlan <T> includePlan,
                                             string tempTableName) : base(storage, storage.Fields)
            {
                var initial = new InTempTableWhereFragment(tempTableName, includePlan.IdAlias);

                Where = storage.FilterDocuments(null, initial);
            }
Example #2
0
            public IncludedDocumentStatement(IDocumentStorage <T> storage, IncludePlan <T> includePlan,
                                             string tempTableName, IPagedStatement paging) : base(storage, storage.Fields)
            {
                var initial = new InTempTableWhereFragment(tempTableName, includePlan.IdAlias, paging, includePlan.IsIdCollection());

                Where = storage.FilterDocuments(null, initial);
            }