public ContainsIdSelectorStatement(FlattenerStatement parent, IMartenSession session, ConstantExpression constant) : base(null)
        {
            ConvertToCommonTableExpression(session);
            _from = parent.ExportName;
            parent.InsertAfter(this);

            _parameter = new CommandParameter(constant);
        }
        public CountComparisonStatement(IMartenSession session, Type documentType, IFieldMapping fields,
                                        FlattenerStatement parent) : base(documentType, fields, parent)
        {
            ConvertToCommonTableExpression(session);
            parent.InsertAfter(this);

            _tableName = parent.ExportName;

            _flattened = parent;
        }
Exemple #3
0
 internal WhereCtIdInSubQuery(string tableName, FlattenerStatement flattenerStatement)
 {
     _tableName = tableName;
     Flattener  = flattenerStatement;
 }