/// <summary>
 /// <para>Copies the entire <see cref="DatabaseProviderDataCollection"/> to a compatible one-dimensional <see cref="Array"/>, starting at the specified index of the target array.</para>
 /// </summary>
 /// <param name="array">
 /// <para>The one-dimensional <see cref="DatabaseProviderDataCollection"/> array that is the destination of the elements copied from <see cref="DatabaseProviderDataCollection"/>. The <see cref="DatabaseProviderData"/> array must have zero-based indexing.</para>
 /// </param>
 /// <param name="index">
 /// <para>The zero-based index in array at which copying begins.</para>
 /// </param>
 public void CopyTo(DatabaseProviderData[] array, int index)
 {
     base.CopyTo(array, index);
 }
 /// <summary>
 /// <para>Adds an <see cref="DatabaseProviderData"/> into the collection.</para>
 /// </summary>
 /// <param name="databaseProviderData">
 /// <para>The <see cref="DatabaseProviderData"/> to add. The value can not be a <see langword="null"/> reference (Nothing in Visual Basic).</para>
 /// </param>
 /// <remarks>
 /// <para>If a reference already exists in the collection by <seealso cref="ProviderData.Name"/>, it will be replaced with the new reference.</para>
 /// </remarks>
 /// <exception cref="ArgumentNullException">
 /// <para><paramref name="databaseProviderData"/> is a <see langword="null"/> reference (Nothing in Visual Basic).</para>
 /// </exception>
 /// <exception cref="InvalidOperationException">
 /// <para><seealso cref="ProviderData.Name"/> is a <see langword="null"/> reference (Nothing in Visual Basic).</para>
 /// </exception>
 public void Add(DatabaseProviderData databaseProviderData)
 {
     base.AddProvider(databaseProviderData);
 }
Exemplo n.º 3
0
 /// <summary>
 /// <para>Adds an <see cref="DatabaseProviderData"/> into the collection.</para>
 /// </summary>
 /// <param name="databaseProviderData">
 /// <para>The <see cref="DatabaseProviderData"/> to add. The value can not be a <see langword="null"/> reference (Nothing in Visual Basic).</para>
 /// </param>
 /// <remarks>
 /// <para>If a reference already exists in the collection by <seealso cref="ProviderData.Name"/>, it will be replaced with the new reference.</para>
 /// </remarks>
 /// <exception cref="ArgumentNullException">
 /// <para><paramref name="databaseProviderData"/> is a <see langword="null"/> reference (Nothing in Visual Basic).</para>
 /// </exception>
 /// <exception cref="InvalidOperationException">
 /// <para><seealso cref="ProviderData.Name"/> is a <see langword="null"/> reference (Nothing in Visual Basic).</para>
 /// </exception>
 public void Add(DatabaseProviderData databaseProviderData)
 {
     base.AddProvider(databaseProviderData);
 }