コード例 #1
0
        public void Visit(EdmModel edmModel, string modelNamespace)
        {
            DebugCheck.NotNull(edmModel);

            var namespaceName
                = modelNamespace ??
                  edmModel
                  .NamespaceNames
                  .DefaultIfEmpty("Empty")
                  .Single();

            _schemaWriter.WriteSchemaElementHeader(namespaceName);

            VisitEdmModel(edmModel);

            _schemaWriter.WriteEndElement();
        }