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; }