public static LanguageGenerator CodeGenerator(CodeLanguage lang) { LanguageGenerator gen = null; switch (lang) { case CodeLanguage.CSharp: gen = new CSharpGenerator(); break; case CodeLanguage.PHP: gen = new PHPGenerator(); break; } return(gen); }
protected BaseSchemaReader(LanguageGenerator langMap, string connString) { _CodeGenerator = langMap; _ConnectionString = connString; }
public MySQLSchemaReader(LanguageGenerator langGen, string connString) : base(langGen, connString) { }