Ejemplo n.º 1
0
        public ISchemaElementBuilder CreateAttribute(XName name, IDataType dataType, string description, Action <ISchemaElementAttribute> configurator = null)
        {
            var attribute = new SchemaElementAttribute(_schemaElement, name, dataType, description);

            configurator?.Invoke(attribute);
            _schemaElement.AddAttribute(attribute);

            return(this);
        }