Ejemplo n.º 1
0
        /// <summary>
        /// Default constructor.
        /// </summary>
        public DataSetDataCollection()
        {
            // Get the current dataset data element.
            DataSetDataElement dataSetData =
                (DataSetDataElement)CreateNewElement();

            // Add the element to the collection.
            Add(dataSetData);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a new linq data element type to the collection.
 /// </summary>
 /// <param name="element">The current linq data element.</param>
 public void Add(DataSetDataElement element)
 {
     // Add the element to the base
     // ConfigurationElementCollection type.
     BaseAdd(element);
 }