/// <summary> /// Default constructor. /// </summary> public LinqToSqlDataCollection() { // Get the current linq data element. LinqToSqlDataElement linqData = (LinqToSqlDataElement)CreateNewElement(); // Add the element to the collection. Add(linqData); }
/// <summary> /// Add a new linq data element type to the collection. /// </summary> /// <param name="element">The current linq data element.</param> public void Add(LinqToSqlDataElement element) { // Add the element to the base // ConfigurationElementCollection type. BaseAdd(element); }