Source/NFX/RelationalModel/Compiler.cs
/// <summary>
/// Performs a compilation - this is a root  override-able method where compilation starts
/// </summary>
Performs a compilation - this is a root  override-able method where compilation starts
Performs a compilation - this is a root override - able method where compilation starts
protected virtual void DoCompile()
            {
                if (!Directory.Exists(OutputPath))
                    throw new CompilerException(StringConsts.RELATIONAL_COMPILER_OUTPUT_PATH_DOSNT_EXIST_ERROR + OutputPath);
                var outputs = new Outputs();
                BuildOutputs(outputs);
                foreach(var pair in outputs)
                    File.WriteAllText( Path.Combine(OutputPath, OutputPrefix + EscapeFileName(pair.Key) + GetOutputFileSuffix(pair.Key)), pair.Value.ToString());
            }
protected virtual void DoCompile ( ) { if ( ! Directory . Exists ( OutputPath ) ) throw new CompilerException ( StringConsts . RELATIONAL_COMPILER_OUTPUT_PATH_DOSNT_EXIST_ERROR + OutputPath ) ; var outputs = new Outputs ( ) ; BuildOutputs ( outputs ) ; foreach ( var pair in outputs ) File . WriteAllText ( Path . Combine ( OutputPath , OutputPrefix + EscapeFileName ( pair . Key ) + GetOutputFileSuffix ( pair . Key ) ) , pair . Value . ToString ( ) ) ; }
Performs a compilation - this is a root  override-able method where compilation starts
Performs a compilation - this is a root override - able method where compilation starts