public static MetaDataStrings GetAllMetadata(bool pretty = false) { string edmx = MedSimDtoRepository.GetEdmxMetadata(); //File.WriteAllText("dtoMetadata.edmx", edmx); return(new MetaDataStrings { RequiredNavProperties = JsonConvert.SerializeObject(EdmxExplorer.GetRequiredNavProperties(edmx), pretty?Formatting.Indented:Formatting.None), Breeze = GetBreezeMetadata(edmx, pretty) }); }