private static string TranslateToModelSourceCode(IEnumerable <ClassTemplateInfo> dataClassesInfo) { var runtimeTextTemplate = new RuntimeTextTemplate { Session = new Dictionary <string, object> { { "namespaceName", "Model" }, { "classes", dataClassesInfo } } }; runtimeTextTemplate.Initialize(); return(runtimeTextTemplate.TransformText()); }
private static string TranslateToModelSourceCode(IEnumerable<ClassTemplateInfo> dataClassesInfo) { var runtimeTextTemplate = new RuntimeTextTemplate { Session = new Dictionary<string, object> { { "namespaceName", "Model" }, { "classes", dataClassesInfo } } }; runtimeTextTemplate.Initialize(); return runtimeTextTemplate.TransformText(); }