public override void GenerateTextForOuterSelectExpression(
            ISqlCommandBuilder commandBuilder,
            Expression expression,
            SetOperationsMode setOperationsMode)
        {
            ArgumentUtility.CheckNotNull("commandBuilder", commandBuilder);
            ArgumentUtility.CheckNotNull("expression", expression);

            ExtendedSqlGeneratingOuterSelectExpressionVisitor.GenerateSql(expression, commandBuilder, this, setOperationsMode);
        }
Beispiel #2
0
        public static new void GenerateSql(
            Expression expression,
            ISqlCommandBuilder commandBuilder,
            ISqlGenerationStage stage,
            SetOperationsMode setOperationsMode)
        {
            ArgumentUtility.CheckNotNull("expression", expression);
            ArgumentUtility.CheckNotNull("commandBuilder", commandBuilder);
            ArgumentUtility.CheckNotNull("stage", stage);

            EnsureNoCollectionExpression(expression);

            var visitor = new ExtendedSqlGeneratingOuterSelectExpressionVisitor(commandBuilder, stage, setOperationsMode);

            visitor.Visit(expression);
        }