Exemplo n.º 1
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);
            }
Exemplo n.º 2
0
 public InTempTableWhereFragment(string tempTableName, string tempTableColumn, IPagedStatement paging, bool isIdCollection)
 {
     _tempTableName   = tempTableName;
     _tempTableColumn = tempTableColumn;
     _paging          = paging;
     _isIdCollection  = isIdCollection;
 }
Exemplo n.º 3
0
 public Statement BuildStatement(string tempTableName, IPagedStatement paging)
 {
     return(new IncludedDocumentStatement(_storage, this, tempTableName, paging));
 }