public void TestMetaModelLoad() { var edmx = new EdmxFile(@"Movies.edmx"); var model = new MetaModel(edmx); }
public void Run(string source, RuleSet ruleSet, GlobalOptions options, Type customRenamerType = null) { var edmxFile = new EdmxFile(source); MModel = new MetaModel(edmxFile); Options = options; if (customRenamerType != null) { //Renamer = (IRenamer) Activator.CreateInstance(customRenamerType, ruleSet, Options); } else Renamer = new DefaultRenamer(ruleSet, Options); ProcessCSDL(edmxFile.Concept); ProcessMSL(edmxFile.Mapping); ProcessDesigner(edmxFile.Diagram); edmxFile.Save(options.GetOutputPath(source)); }