Exemplo n.º 1
0
        public virtual SqlStatement ResolveSqlStatement(SqlStatement sqlStatement, IMappingResolutionContext context)
        {
            ArgumentUtility.CheckNotNull("sqlStatement", sqlStatement);
            ArgumentUtility.CheckNotNull("context", context);

            return(SqlStatementResolver.ResolveExpressions(this, sqlStatement, context));
        }
Exemplo n.º 2
0
        public static SqlStatement ResolveExpressions(IMappingResolutionStage stage, SqlStatement statement, IMappingResolutionContext context)
        {
            ArgumentUtility.CheckNotNull("stage", stage);
            ArgumentUtility.CheckNotNull("statement", statement);
            ArgumentUtility.CheckNotNull("context", context);

            var resolver = new SqlStatementResolver(stage, context);

            return(resolver.ResolveSqlStatement(statement));
        }