1
Vote

little bug

description

Hi,
missing "else"
    public class ApplicationController
    {
...

        public void Generate(bool writeToFile = true)
        {
            codeGenerator.Generate(writeToFile);
            GeneratedDomainCode = codeGenerator.GeneratedCode;

            if (applicationPreferences.IsFluent)
            {
                fluentGenerator.Generate(writeToFile);
                GeneratedMapCode = fluentGenerator.GeneratedCode;
            }
/// *** HERE
            else if (applicationPreferences.IsEntityFramework)
/// *** HERE
            {
                entityFrameworkGenerator.Generate(writeToFile);
                GeneratedMapCode = entityFrameworkGenerator.GeneratedCode;
            }
...
    }

comments