public static Expression ApplySqlExpressionContext ( Expression expression, SqlExpressionContext initialSemantics, IMappingResolutionStage stage, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull ("expression", expression); ArgumentUtility.CheckNotNull ("stage", stage); ArgumentUtility.CheckNotNull ("context", context); var visitor = new SqlContextExpressionVisitor (initialSemantics, stage, context); return visitor.VisitExpression (expression); }
public static Expression ApplySqlExpressionContext( Expression expression, SqlExpressionContext initialSemantics, IMappingResolutionStage stage, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull("expression", expression); ArgumentUtility.CheckNotNull("stage", stage); ArgumentUtility.CheckNotNull("context", context); var visitor = new SqlContextExpressionVisitor(initialSemantics, stage, context); return(visitor.VisitExpression(expression)); }