示例#1
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        public EdmDataCollection()
        {
            // Get the current edm data element.
            EdmDataElement edmData =
                (EdmDataElement)CreateNewElement();

            // Add the element to the collection.
            Add(edmData);
        }
示例#2
0
 /// <summary>
 /// Add a new edm data element type to the collection.
 /// </summary>
 /// <param name="element">The current edm data element.</param>
 public void Add(EdmDataElement element)
 {
     // Add the element to the base
     // ConfigurationElementCollection type.
     BaseAdd(element);
 }