public static EDM CreateEDMFromIDatabase(IDatabase database, string modelNamespace)
        {
            EDM edm = new EDM();

            edm.SSDLContainer = SSDLConverter.CreateSSDLContainer(database, modelNamespace);

            return(edm);
        }
        public static XDocument GetSSDLXML(IDatabase database, string modelNamespace)
        {
            SSDLContainer ssdlContainer = SSDLConverter.CreateSSDLContainer(database, modelNamespace);

            return(SSDLIO.WriteXDocument(ssdlContainer));
        }