コード例 #1
0
        private void VisitTypeDefinition(IEdmTypeDefinition typeDefinition)
        {
            string qualifiedName = typeDefinition.FullTypeName();

            if (_types.ContainsKey(qualifiedName))
            {
                return; // processed
            }

            MetaTypeDefinitionType metaTypeDef = new MetaTypeDefinitionType();

            metaTypeDef.QualifiedName = qualifiedName;
            metaTypeDef.Name          = typeDefinition.Name;
            _types[qualifiedName]     = metaTypeDef;
        }