/// <summary> /// Default constructor. /// </summary> public DataSetDataCollection() { // Get the current dataset data element. DataSetDataElement dataSetData = (DataSetDataElement)CreateNewElement(); // Add the element to the collection. Add(dataSetData); }
/// <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); }