VisitSqlStatement() public method

public VisitSqlStatement ( SqlStatement sqlStatement, SqlExpressionContext expressionContext ) : SqlStatement
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
expressionContext SqlExpressionContext
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
    public static SqlStatement ApplyContext (SqlStatement sqlStatement, SqlExpressionContext expressionContext, IMappingResolutionStage stage, IMappingResolutionContext mappingresolutionContext)
    {
      ArgumentUtility.CheckNotNull ("sqlStatement", sqlStatement);
      ArgumentUtility.CheckNotNull ("stage", stage);
      ArgumentUtility.CheckNotNull ("mappingresolutionContext", mappingresolutionContext);

      var visitor = new SqlContextSelectionAdjuster (stage, mappingresolutionContext);
      return visitor.VisitSqlStatement (sqlStatement, expressionContext);
    }
Esempio n. 2
0
        public static SqlStatement ApplyContext(SqlStatement sqlStatement, SqlExpressionContext expressionContext, IMappingResolutionStage stage, IMappingResolutionContext mappingresolutionContext)
        {
            ArgumentUtility.CheckNotNull("sqlStatement", sqlStatement);
            ArgumentUtility.CheckNotNull("stage", stage);
            ArgumentUtility.CheckNotNull("mappingresolutionContext", mappingresolutionContext);

            var visitor = new SqlContextSelectionAdjuster(stage, mappingresolutionContext);

            return(visitor.VisitSqlStatement(sqlStatement, expressionContext));
        }