Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1301 lines (1262 sloc) 85.3 KB
<Type Name="DataRelationCollection" FullName="System.Data.DataRelationCollection">
<TypeSignature Language="C#" Value="public abstract class DataRelationCollection : System.Data.InternalDataCollectionBase" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit DataRelationCollection extends System.Data.InternalDataCollectionBase" />
<TypeSignature Language="DocId" Value="T:System.Data.DataRelationCollection" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class DataRelationCollection&#xA;Inherits InternalDataCollectionBase" />
<TypeSignature Language="C++ CLI" Value="public ref class DataRelationCollection abstract : System::Data::InternalDataCollectionBase" />
<TypeSignature Language="F#" Value="type DataRelationCollection = class&#xA; inherit InternalDataCollectionBase" />
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Data.InternalDataCollectionBase</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netcore-2.0;netcore-2.1;netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netstandard-2.0;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0;netframework-4.8;netcore-2.2;netcore-3.0;netstandard-2.1">
<AttributeName>System.ComponentModel.DefaultEvent("CollectionChanged")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netcore-2.0;netcore-2.1;netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netstandard-2.0;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0;netframework-4.8;netcore-2.2;netcore-3.0;netstandard-2.1">
<AttributeName>System.ComponentModel.DefaultProperty("Table")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="xamarinmac-3.0">
<AttributeName>System.ComponentModel.Editor("Microsoft.VSDesigner.Data.Design.DataRelationCollectionEditor, Microsoft.VSDesigner, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1">
<AttributeName>System.ComponentModel.Editor("Microsoft.VSDesigner.Data.Design.DataRelationCollectionEditor, Microsoft.VSDesigner, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5">
<AttributeName>System.ComponentModel.Editor("Microsoft.VSDesigner.Data.Design.DataRelationCollectionEditor, Microsoft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.ComponentModel.Editor("Microsoft.VSDesigner.Data.Design.DataRelationCollectionEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="xamarinandroid-7.1;xamarinios-10.8">
<AttributeName>System.ComponentModel.Editor("Microsoft.VSDesigner.Data.Design.DataRelationCollectionEditor, Microsoft.VSDesigner, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1">
<AttributeName>System.Serializable</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents the collection of <see cref="T:System.Data.DataRelation" /> objects for this <see cref="T:System.Data.DataSet" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A <xref:System.Data.DataRelationCollection> object enables navigation between related parent/child <xref:System.Data.DataTable> objects.
You create a <xref:System.Data.DataRelationCollection> object by defining it as a property of either the <xref:System.Data.DataSet> or the <xref:System.Data.DataTable>, instead of by directly using a constructor. (Use the <xref:System.Data.DataSet.Relations%2A> property of the <xref:System.Data.DataSet>, or the <xref:System.Data.DataTable.ParentRelations%2A> property of the <xref:System.Data.DataTable>.)
To access the collection, use the <xref:System.Data.DataSet.Relations%2A> property of the <xref:System.Data.DataSet> object.
As soon as the collection exists you can manage the objects it contains by using methods such as <xref:System.Data.DataRelationCollection.Add%2A>, <xref:System.Data.DataRelationCollection.Clear%2A>, and <xref:System.Data.DataRelationCollection.Remove%2A>.
]]></format>
</remarks>
<threadsafe>This type is safe for multithreaded read operations. You must synchronize any write operations.</threadsafe>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected DataRelationCollection ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; DataRelationCollection();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Data.DataRelationCollection" /> class.</summary>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<MemberGroup MemberName="Add">
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Adds a <see cref="T:System.Data.DataRelation" /> to the <see cref="T:System.Data.DataRelationCollection" />.</summary>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</MemberGroup>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public void Add (System.Data.DataRelation relation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Add(class System.Data.DataRelation relation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Add(System.Data.DataRelation)" />
<MemberSignature Language="VB.NET" Value="Public Sub Add (relation As DataRelation)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void Add(System::Data::DataRelation ^ relation);" />
<MemberSignature Language="F#" Value="member this.Add : System.Data.DataRelation -&gt; unit" Usage="dataRelationCollection.Add relation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relation" Type="System.Data.DataRelation" />
</Parameters>
<Docs>
<param name="relation">The <see langword="DataRelation" /> to add to the collection.</param>
<summary>Adds a <see cref="T:System.Data.DataRelation" /> to the <see cref="T:System.Data.DataRelationCollection" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the relation is successfully added to the collection, the <xref:System.Data.DataRelationCollection.CollectionChanged> event occurs.
When a <xref:System.Data.DataRelation> object is added to the collection, <xref:System.Data.ForeignKeyConstraint> and <xref:System.Data.UniqueConstraint> objects are created by default if they do not already exist.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="relation" /> parameter is a null value.</exception>
<exception cref="T:System.ArgumentException">The relation already belongs to this collection, or it belongs to another collection.</exception>
<exception cref="T:System.Data.DuplicateNameException">The collection already has a relation with the specified name. (The comparison is not case sensitive.)</exception>
<exception cref="T:System.Data.InvalidConstraintException">The relation has entered an invalid state since it was created.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual System.Data.DataRelation Add (System.Data.DataColumn parentColumn, System.Data.DataColumn childColumn);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Data.DataRelation Add(class System.Data.DataColumn parentColumn, class System.Data.DataColumn childColumn) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Add(System.Data.DataColumn,System.Data.DataColumn)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Add (parentColumn As DataColumn, childColumn As DataColumn) As DataRelation" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Data::DataRelation ^ Add(System::Data::DataColumn ^ parentColumn, System::Data::DataColumn ^ childColumn);" />
<MemberSignature Language="F#" Value="abstract member Add : System.Data.DataColumn * System.Data.DataColumn -&gt; System.Data.DataRelation&#xA;override this.Add : System.Data.DataColumn * System.Data.DataColumn -&gt; System.Data.DataRelation" Usage="dataRelationCollection.Add (parentColumn, childColumn)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataRelation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="parentColumn" Type="System.Data.DataColumn" />
<Parameter Name="childColumn" Type="System.Data.DataColumn" />
</Parameters>
<Docs>
<param name="parentColumn">The parent column of the relation.</param>
<param name="childColumn">The child column of the relation.</param>
<summary>Creates a <see cref="T:System.Data.DataRelation" /> with a specified parent and child column, and adds it to the collection.</summary>
<returns>The created relation.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When a <xref:System.Data.DataRelation> object is added to the collection, <xref:System.Data.ForeignKeyConstraint> and <xref:System.Data.UniqueConstraint> objects are created by default if they do not already exist.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual System.Data.DataRelation Add (System.Data.DataColumn[] parentColumns, System.Data.DataColumn[] childColumns);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Data.DataRelation Add(class System.Data.DataColumn[] parentColumns, class System.Data.DataColumn[] childColumns) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Add(System.Data.DataColumn[],System.Data.DataColumn[])" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Add (parentColumns As DataColumn(), childColumns As DataColumn()) As DataRelation" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Data::DataRelation ^ Add(cli::array &lt;System::Data::DataColumn ^&gt; ^ parentColumns, cli::array &lt;System::Data::DataColumn ^&gt; ^ childColumns);" />
<MemberSignature Language="F#" Value="abstract member Add : System.Data.DataColumn[] * System.Data.DataColumn[] -&gt; System.Data.DataRelation&#xA;override this.Add : System.Data.DataColumn[] * System.Data.DataColumn[] -&gt; System.Data.DataRelation" Usage="dataRelationCollection.Add (parentColumns, childColumns)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataRelation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="parentColumns" Type="System.Data.DataColumn[]" />
<Parameter Name="childColumns" Type="System.Data.DataColumn[]" />
</Parameters>
<Docs>
<param name="parentColumns">The parent columns of the relation.</param>
<param name="childColumns">The child columns of the relation.</param>
<summary>Creates a <see cref="T:System.Data.DataRelation" /> with the specified parent and child columns, and adds it to the collection.</summary>
<returns>The created relation.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When a <xref:System.Data.DataRelation> object is added to the collection, <xref:System.Data.ForeignKeyConstraint> and <xref:System.Data.UniqueConstraint> objects are created by default if they do not already exist.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="relation" /> argument is a null value.</exception>
<exception cref="T:System.ArgumentException">The relation already belongs to this collection, or it belongs to another collection.</exception>
<exception cref="T:System.Data.DuplicateNameException">The collection already has a relation with the same name. (The comparison is not case sensitive.)</exception>
<exception cref="T:System.Data.InvalidConstraintException">The relation has entered an invalid state since it was created.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual System.Data.DataRelation Add (string name, System.Data.DataColumn parentColumn, System.Data.DataColumn childColumn);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Data.DataRelation Add(string name, class System.Data.DataColumn parentColumn, class System.Data.DataColumn childColumn) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Add(System.String,System.Data.DataColumn,System.Data.DataColumn)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Add (name As String, parentColumn As DataColumn, childColumn As DataColumn) As DataRelation" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Data::DataRelation ^ Add(System::String ^ name, System::Data::DataColumn ^ parentColumn, System::Data::DataColumn ^ childColumn);" />
<MemberSignature Language="F#" Value="abstract member Add : string * System.Data.DataColumn * System.Data.DataColumn -&gt; System.Data.DataRelation&#xA;override this.Add : string * System.Data.DataColumn * System.Data.DataColumn -&gt; System.Data.DataRelation" Usage="dataRelationCollection.Add (name, parentColumn, childColumn)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataRelation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="parentColumn" Type="System.Data.DataColumn" />
<Parameter Name="childColumn" Type="System.Data.DataColumn" />
</Parameters>
<Docs>
<param name="name">The name of the relation.</param>
<param name="parentColumn">The parent column of the relation.</param>
<param name="childColumn">The child column of the relation.</param>
<summary>Creates a <see cref="T:System.Data.DataRelation" /> with the specified name, and parent and child columns, and adds it to the collection.</summary>
<returns>The created relation.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When a <xref:System.Data.DataRelation> object is added to the collection, <xref:System.Data.ForeignKeyConstraint> and <xref:System.Data.UniqueConstraint> objects are created by default if they do not already exist.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual System.Data.DataRelation Add (string name, System.Data.DataColumn[] parentColumns, System.Data.DataColumn[] childColumns);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Data.DataRelation Add(string name, class System.Data.DataColumn[] parentColumns, class System.Data.DataColumn[] childColumns) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Add(System.String,System.Data.DataColumn[],System.Data.DataColumn[])" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Add (name As String, parentColumns As DataColumn(), childColumns As DataColumn()) As DataRelation" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Data::DataRelation ^ Add(System::String ^ name, cli::array &lt;System::Data::DataColumn ^&gt; ^ parentColumns, cli::array &lt;System::Data::DataColumn ^&gt; ^ childColumns);" />
<MemberSignature Language="F#" Value="abstract member Add : string * System.Data.DataColumn[] * System.Data.DataColumn[] -&gt; System.Data.DataRelation&#xA;override this.Add : string * System.Data.DataColumn[] * System.Data.DataColumn[] -&gt; System.Data.DataRelation" Usage="dataRelationCollection.Add (name, parentColumns, childColumns)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataRelation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="parentColumns" Type="System.Data.DataColumn[]" />
<Parameter Name="childColumns" Type="System.Data.DataColumn[]" />
</Parameters>
<Docs>
<param name="name">The name of the <see langword="DataRelation" /> to create.</param>
<param name="parentColumns">An array of parent <see cref="T:System.Data.DataColumn" /> objects.</param>
<param name="childColumns">An array of child <see langword="DataColumn" /> objects.</param>
<summary>Creates a <see cref="T:System.Data.DataRelation" /> with the specified name and arrays of parent and child columns, and adds it to the collection.</summary>
<returns>The created <see langword="DataRelation" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the relation is successfully added to the collection, the <xref:System.Data.DataRelationCollection.CollectionChanged> event occurs.
When a <xref:System.Data.DataRelation> object is added to the collection, <xref:System.Data.ForeignKeyConstraint> and <xref:System.Data.UniqueConstraint> objects are created by default if they do not already exist.
## Examples
[!code-csharp[Classic WebData DataRelationCollection.Add1 Example#1](~/samples/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataRelationCollection.Add1 Example/CS/source.cs#1)]
[!code-vb[Classic WebData DataRelationCollection.Add1 Example#1](~/samples/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData DataRelationCollection.Add1 Example/VB/source.vb#1)]
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The relation name is a null value.</exception>
<exception cref="T:System.ArgumentException">The relation already belongs to this collection, or it belongs to another collection.</exception>
<exception cref="T:System.Data.DuplicateNameException">The collection already has a relation with the same name. (The comparison is not case sensitive.)</exception>
<exception cref="T:System.Data.InvalidConstraintException">The relation has entered an invalid state since it was created.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual System.Data.DataRelation Add (string name, System.Data.DataColumn parentColumn, System.Data.DataColumn childColumn, bool createConstraints);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Data.DataRelation Add(string name, class System.Data.DataColumn parentColumn, class System.Data.DataColumn childColumn, bool createConstraints) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Add(System.String,System.Data.DataColumn,System.Data.DataColumn,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Add (name As String, parentColumn As DataColumn, childColumn As DataColumn, createConstraints As Boolean) As DataRelation" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Data::DataRelation ^ Add(System::String ^ name, System::Data::DataColumn ^ parentColumn, System::Data::DataColumn ^ childColumn, bool createConstraints);" />
<MemberSignature Language="F#" Value="abstract member Add : string * System.Data.DataColumn * System.Data.DataColumn * bool -&gt; System.Data.DataRelation&#xA;override this.Add : string * System.Data.DataColumn * System.Data.DataColumn * bool -&gt; System.Data.DataRelation" Usage="dataRelationCollection.Add (name, parentColumn, childColumn, createConstraints)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataRelation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="parentColumn" Type="System.Data.DataColumn" />
<Parameter Name="childColumn" Type="System.Data.DataColumn" />
<Parameter Name="createConstraints" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="name">The name of the relation.</param>
<param name="parentColumn">The parent column of the relation.</param>
<param name="childColumn">The child column of the relation.</param>
<param name="createConstraints">
<see langword="true" /> to create constraints; otherwise <see langword="false" />. (The default is <see langword="true" />).</param>
<summary>Creates a <see cref="T:System.Data.DataRelation" /> with the specified name, parent and child columns, with optional constraints according to the value of the <paramref name="createConstraints" /> parameter, and adds it to the collection.</summary>
<returns>The created relation.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When a <xref:System.Data.DataRelation> object is added to the collection, <xref:System.Data.ForeignKeyConstraint> and <xref:System.Data.UniqueConstraint> objects are created by default if they do not already exist. To prevent this, you can set `createConstraints` to false.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public virtual System.Data.DataRelation Add (string name, System.Data.DataColumn[] parentColumns, System.Data.DataColumn[] childColumns, bool createConstraints);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Data.DataRelation Add(string name, class System.Data.DataColumn[] parentColumns, class System.Data.DataColumn[] childColumns, bool createConstraints) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Add(System.String,System.Data.DataColumn[],System.Data.DataColumn[],System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Add (name As String, parentColumns As DataColumn(), childColumns As DataColumn(), createConstraints As Boolean) As DataRelation" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Data::DataRelation ^ Add(System::String ^ name, cli::array &lt;System::Data::DataColumn ^&gt; ^ parentColumns, cli::array &lt;System::Data::DataColumn ^&gt; ^ childColumns, bool createConstraints);" />
<MemberSignature Language="F#" Value="abstract member Add : string * System.Data.DataColumn[] * System.Data.DataColumn[] * bool -&gt; System.Data.DataRelation&#xA;override this.Add : string * System.Data.DataColumn[] * System.Data.DataColumn[] * bool -&gt; System.Data.DataRelation" Usage="dataRelationCollection.Add (name, parentColumns, childColumns, createConstraints)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataRelation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="parentColumns" Type="System.Data.DataColumn[]" />
<Parameter Name="childColumns" Type="System.Data.DataColumn[]" />
<Parameter Name="createConstraints" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="name">The name of the <see langword="DataRelation" /> to create.</param>
<param name="parentColumns">An array of parent <see cref="T:System.Data.DataColumn" /> objects.</param>
<param name="childColumns">An array of child <see langword="DataColumn" /> objects.</param>
<param name="createConstraints">
<see langword="true" /> to create a constraint; otherwise <see langword="false" />.</param>
<summary>Creates a <see cref="T:System.Data.DataRelation" /> with the specified name, arrays of parent and child columns, and value specifying whether to create a constraint, and adds it to the collection.</summary>
<returns>The created relation.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When a <xref:System.Data.DataRelation> object is added to the collection, <xref:System.Data.ForeignKeyConstraint> and <xref:System.Data.UniqueConstraint> objects are created by default if they do not already exist.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The relation name is a null value.</exception>
<exception cref="T:System.ArgumentException">The relation already belongs to this collection, or it belongs to another collection.</exception>
<exception cref="T:System.Data.DuplicateNameException">The collection already has a relation with the same name. (The comparison is not case sensitive.)</exception>
<exception cref="T:System.Data.InvalidConstraintException">The relation has entered an invalid state since it was created.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="AddCore">
<MemberSignature Language="C#" Value="protected virtual void AddCore (System.Data.DataRelation relation);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void AddCore(class System.Data.DataRelation relation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.AddCore(System.Data.DataRelation)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub AddCore (relation As DataRelation)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void AddCore(System::Data::DataRelation ^ relation);" />
<MemberSignature Language="F#" Value="abstract member AddCore : System.Data.DataRelation -&gt; unit&#xA;override this.AddCore : System.Data.DataRelation -&gt; unit" Usage="dataRelationCollection.AddCore relation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relation" Type="System.Data.DataRelation" />
</Parameters>
<Docs>
<param name="relation">The relation to check.</param>
<summary>Performs verification on the table.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">The relation is null.</exception>
<exception cref="T:System.ArgumentException">The relation already belongs to this collection, or it belongs to another collection.</exception>
<exception cref="T:System.Data.DuplicateNameException">The collection already has a relation with the same name. (The comparison is not case sensitive.)</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="C#" Value="public virtual void AddRange (System.Data.DataRelation[] relations);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddRange(class System.Data.DataRelation[] relations) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.AddRange(System.Data.DataRelation[])" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub AddRange (relations As DataRelation())" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void AddRange(cli::array &lt;System::Data::DataRelation ^&gt; ^ relations);" />
<MemberSignature Language="F#" Value="abstract member AddRange : System.Data.DataRelation[] -&gt; unit&#xA;override this.AddRange : System.Data.DataRelation[] -&gt; unit" Usage="dataRelationCollection.AddRange relations" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relations" Type="System.Data.DataRelation[]" />
</Parameters>
<Docs>
<param name="relations">The array of <see cref="T:System.Data.DataRelation" /> objects to add to the collection.</param>
<summary>Copies the elements of the specified <see cref="T:System.Data.DataRelation" /> array to the end of the collection.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If <xref:System.Data.DataSet.BeginInit%2A> has been called, `AddRange` does not add any objects to the collection until <xref:System.Data.DataSet.EndInit%2A> is called. At the time that `EndInit` is called, the collection will be populated with the items specified in the most recent call to `AddRange`. If `AddRange` is called multiple times within a `BeginInit` / `EndInit` sequence, only those items specified in the most recent call to `AddRange` are added.
## Examples
[!code-csharp[Classic WebData DataRelationCollection.AddRange Example#1](~/samples/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData DataRelationCollection.AddRange Example/CS/source.cs#1)]
[!code-vb[Classic WebData DataRelationCollection.AddRange Example#1](~/samples/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData DataRelationCollection.AddRange Example/VB/source.vb#1)]
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="CanRemove">
<MemberSignature Language="C#" Value="public virtual bool CanRemove (System.Data.DataRelation relation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool CanRemove(class System.Data.DataRelation relation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.CanRemove(System.Data.DataRelation)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CanRemove (relation As DataRelation) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual bool CanRemove(System::Data::DataRelation ^ relation);" />
<MemberSignature Language="F#" Value="abstract member CanRemove : System.Data.DataRelation -&gt; bool&#xA;override this.CanRemove : System.Data.DataRelation -&gt; bool" Usage="dataRelationCollection.CanRemove relation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relation" Type="System.Data.DataRelation" />
</Parameters>
<Docs>
<param name="relation">The relation to perform the check against.</param>
<summary>Verifies whether the specified <see cref="T:System.Data.DataRelation" /> can be removed from the collection.</summary>
<returns>
<see langword="true" /> if the <see cref="T:System.Data.DataRelation" /> can be removed; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Clear">
<MemberSignature Language="C#" Value="public virtual void Clear ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Clear() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Clear" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub Clear ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void Clear();" />
<MemberSignature Language="F#" Value="abstract member Clear : unit -&gt; unit&#xA;override this.Clear : unit -&gt; unit" Usage="dataRelationCollection.Clear " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Clears the collection of any relations.</summary>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="CollectionChanged">
<MemberSignature Language="C#" Value="public event System.ComponentModel.CollectionChangeEventHandler CollectionChanged;" />
<MemberSignature Language="ILAsm" Value=".event class System.ComponentModel.CollectionChangeEventHandler CollectionChanged" />
<MemberSignature Language="DocId" Value="E:System.Data.DataRelationCollection.CollectionChanged" />
<MemberSignature Language="VB.NET" Value="Public Custom Event CollectionChanged As CollectionChangeEventHandler " />
<MemberSignature Language="C++ CLI" Value="public:&#xA; event System::ComponentModel::CollectionChangeEventHandler ^ CollectionChanged;" />
<MemberSignature Language="F#" Value="member this.CollectionChanged : System.ComponentModel.CollectionChangeEventHandler " Usage="member this.CollectionChanged : System.ComponentModel.CollectionChangeEventHandler " />
<MemberType>Event</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ComponentModel.CollectionChangeEventHandler</ReturnType>
</ReturnValue>
<Docs>
<summary>Occurs when the collection has changed.</summary>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public virtual bool Contains (string name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Contains(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Contains(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function Contains (name As String) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual bool Contains(System::String ^ name);" />
<MemberSignature Language="F#" Value="abstract member Contains : string -&gt; bool&#xA;override this.Contains : string -&gt; bool" Usage="dataRelationCollection.Contains name" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the relation to find.</param>
<summary>Verifies whether a <see cref="T:System.Data.DataRelation" /> with the specific name (case insensitive) exists in the collection.</summary>
<returns>
<see langword="true" />, if a relation with the specified name exists; otherwise <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="C#" Value="public void CopyTo (System.Data.DataRelation[] array, int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void CopyTo(class System.Data.DataRelation[] array, int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.CopyTo(System.Data.DataRelation[],System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub CopyTo (array As DataRelation(), index As Integer)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void CopyTo(cli::array &lt;System::Data::DataRelation ^&gt; ^ array, int index);" />
<MemberSignature Language="F#" Value="override this.CopyTo : System.Data.DataRelation[] * int -&gt; unit" Usage="dataRelationCollection.CopyTo (array, index)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="array" Type="System.Data.DataRelation[]" Index="0" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<Parameter Name="index" Type="System.Int32" Index="1" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
</Parameters>
<Docs>
<param name="array">The array of <see cref="T:System.Data.DataRelation" /> objects to copy the collection to.</param>
<param name="index">The index to start from.</param>
<summary>Copies the collection of <see cref="T:System.Data.DataRelation" /> objects starting at the specified index.</summary>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="GetDataSet">
<MemberSignature Language="C#" Value="protected abstract System.Data.DataSet GetDataSet ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Data.DataSet GetDataSet() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.GetDataSet" />
<MemberSignature Language="VB.NET" Value="Protected MustOverride Function GetDataSet () As DataSet" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; abstract System::Data::DataSet ^ GetDataSet();" />
<MemberSignature Language="F#" Value="abstract member GetDataSet : unit -&gt; System.Data.DataSet" Usage="dataRelationCollection.GetDataSet " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataSet</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary>
<returns>The referenced DataSet.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="IndexOf">
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets the index of the specified data relation.</summary>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</MemberGroup>
<Member MemberName="IndexOf">
<MemberSignature Language="C#" Value="public virtual int IndexOf (System.Data.DataRelation relation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOf(class System.Data.DataRelation relation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.IndexOf(System.Data.DataRelation)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function IndexOf (relation As DataRelation) As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual int IndexOf(System::Data::DataRelation ^ relation);" />
<MemberSignature Language="F#" Value="abstract member IndexOf : System.Data.DataRelation -&gt; int&#xA;override this.IndexOf : System.Data.DataRelation -&gt; int" Usage="dataRelationCollection.IndexOf relation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relation" Type="System.Data.DataRelation" />
</Parameters>
<Docs>
<param name="relation">The relation to search for.</param>
<summary>Gets the index of the specified <see cref="T:System.Data.DataRelation" /> object.</summary>
<returns>The 0-based index of the relation, or -1 if the relation is not found in the collection.</returns>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="IndexOf">
<MemberSignature Language="C#" Value="public virtual int IndexOf (string relationName);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 IndexOf(string relationName) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.IndexOf(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function IndexOf (relationName As String) As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual int IndexOf(System::String ^ relationName);" />
<MemberSignature Language="F#" Value="abstract member IndexOf : string -&gt; int&#xA;override this.IndexOf : string -&gt; int" Usage="dataRelationCollection.IndexOf relationName" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relationName" Type="System.String" />
</Parameters>
<Docs>
<param name="relationName">The name of the relation to find.</param>
<summary>Gets the index of the <see cref="T:System.Data.DataRelation" /> specified by name.</summary>
<returns>The zero-based index of the relation with the specified name, or -1 if the relation does not exist in the collection.</returns>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<MemberGroup MemberName="Item">
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets the specified <see cref="T:System.Data.DataRelation" /> from the collection.</summary>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</MemberGroup>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public abstract System.Data.DataRelation this[int index] { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Data.DataRelation Item(int32)" />
<MemberSignature Language="DocId" Value="P:System.Data.DataRelationCollection.Item(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Default Public MustOverride ReadOnly Property Item(index As Integer) As DataRelation" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; abstract property System::Data::DataRelation ^ default[int] { System::Data::DataRelation ^ get(int index); };" />
<MemberSignature Language="F#" Value="member this.Item(int) : System.Data.DataRelation" Usage="System.Data.DataRelationCollection.Item" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataRelation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">The zero-based index to find.</param>
<summary>Gets the <see cref="T:System.Data.DataRelation" /> object at the specified index.</summary>
<value>The <see cref="T:System.Data.DataRelation" />, or a null value if the specified <see cref="T:System.Data.DataRelation" /> does not exist.</value>
<remarks>To be added.</remarks>
<exception cref="T:System.IndexOutOfRangeException">The index value is greater than the number of items in the collection.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public abstract System.Data.DataRelation this[string name] { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Data.DataRelation Item(string)" />
<MemberSignature Language="DocId" Value="P:System.Data.DataRelationCollection.Item(System.String)" />
<MemberSignature Language="VB.NET" Value="Default Public MustOverride ReadOnly Property Item(name As String) As DataRelation" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; abstract property System::Data::DataRelation ^ default[System::String ^] { System::Data::DataRelation ^ get(System::String ^ name); };" />
<MemberSignature Language="F#" Value="member this.Item(string) : System.Data.DataRelation" Usage="System.Data.DataRelationCollection.Item" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.DataRelation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the relation to find.</param>
<summary>Gets the <see cref="T:System.Data.DataRelation" /> object specified by name.</summary>
<value>The named <see cref="T:System.Data.DataRelation" />, or a null value if the specified <see cref="T:System.Data.DataRelation" /> does not exist.</value>
<remarks>To be added.</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="OnCollectionChanged">
<MemberSignature Language="C#" Value="protected virtual void OnCollectionChanged (System.ComponentModel.CollectionChangeEventArgs ccevent);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnCollectionChanged(class System.ComponentModel.CollectionChangeEventArgs ccevent) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnCollectionChanged (ccevent As CollectionChangeEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnCollectionChanged(System::ComponentModel::CollectionChangeEventArgs ^ ccevent);" />
<MemberSignature Language="F#" Value="abstract member OnCollectionChanged : System.ComponentModel.CollectionChangeEventArgs -&gt; unit&#xA;override this.OnCollectionChanged : System.ComponentModel.CollectionChangeEventArgs -&gt; unit" Usage="dataRelationCollection.OnCollectionChanged ccevent" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="ccevent" Type="System.ComponentModel.CollectionChangeEventArgs" />
</Parameters>
<Docs>
<param name="ccevent">A <see cref="T:System.ComponentModel.CollectionChangeEventArgs" /> that contains the event data.</param>
<summary>Raises the <see cref="E:System.Data.DataRelationCollection.CollectionChanged" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Raising an event invokes the event handler through a delegate. For an overview, see [Handling and Raising Events](~/docs/standard/events/index.md).
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>When overriding <see cref="M:System.Data.DataRelationCollection.OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs)" /> in an inheriting class, make sure that you call the <see cref="M:System.Data.DataRelationCollection.OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs)" /> method for the base class.</para>
</block>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="OnCollectionChanging">
<MemberSignature Language="C#" Value="protected virtual void OnCollectionChanging (System.ComponentModel.CollectionChangeEventArgs ccevent);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnCollectionChanging(class System.ComponentModel.CollectionChangeEventArgs ccevent) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.OnCollectionChanging(System.ComponentModel.CollectionChangeEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnCollectionChanging (ccevent As CollectionChangeEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void OnCollectionChanging(System::ComponentModel::CollectionChangeEventArgs ^ ccevent);" />
<MemberSignature Language="F#" Value="abstract member OnCollectionChanging : System.ComponentModel.CollectionChangeEventArgs -&gt; unit&#xA;override this.OnCollectionChanging : System.ComponentModel.CollectionChangeEventArgs -&gt; unit" Usage="dataRelationCollection.OnCollectionChanging ccevent" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="ccevent" Type="System.ComponentModel.CollectionChangeEventArgs" />
</Parameters>
<Docs>
<param name="ccevent">A <see cref="T:System.ComponentModel.CollectionChangeEventArgs" /> that contains the event data.</param>
<summary>Raises the <see cref="E:System.Data.DataRelationCollection.CollectionChanged" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Raising an event invokes the event handler through a delegate. For an overview, see [Handling and Raising Events](~/docs/standard/events/index.md).
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>When overriding <see cref="M:System.Data.DataRelationCollection.OnCollectionChanging(System.ComponentModel.CollectionChangeEventArgs)" /> in an inheriting class, make sure that you call the <see cref="M:System.Data.DataRelationCollection.OnCollectionChanging(System.ComponentModel.CollectionChangeEventArgs)" /> method for the base class.</para>
</block>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<MemberGroup MemberName="Remove">
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Removes the specified relation from the collection.</summary>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</MemberGroup>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (System.Data.DataRelation relation);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Remove(class System.Data.DataRelation relation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Remove(System.Data.DataRelation)" />
<MemberSignature Language="VB.NET" Value="Public Sub Remove (relation As DataRelation)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void Remove(System::Data::DataRelation ^ relation);" />
<MemberSignature Language="F#" Value="member this.Remove : System.Data.DataRelation -&gt; unit" Usage="dataRelationCollection.Remove relation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relation" Type="System.Data.DataRelation" />
</Parameters>
<Docs>
<param name="relation">The relation to remove.</param>
<summary>Removes the specified relation from the collection.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Data.DataRelationCollection.CollectionChanged> event is fired if the remove operation succeeds. Note that removing the relation does not remove any associated constraint objects.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">The relation is a null value.</exception>
<exception cref="T:System.ArgumentException">The relation does not belong to the collection.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public void Remove (string name);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Remove(string name) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.Remove(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub Remove (name As String)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void Remove(System::String ^ name);" />
<MemberSignature Language="F#" Value="member this.Remove : string -&gt; unit" Usage="dataRelationCollection.Remove name" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the relation to remove.</param>
<summary>Removes the relation with the specified name from the collection.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Data.DataRelationCollection.CollectionChanged> event is fired if the remove operation succeeds.
]]></format>
</remarks>
<exception cref="T:System.IndexOutOfRangeException">The collection does not have a relation with the specified name.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="RemoveAt">
<MemberSignature Language="C#" Value="public void RemoveAt (int index);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveAt(int32 index) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.RemoveAt(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub RemoveAt (index As Integer)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void RemoveAt(int index);" />
<MemberSignature Language="F#" Value="member this.RemoveAt : int -&gt; unit" Usage="dataRelationCollection.RemoveAt index" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<param name="index">The index of the relation to remove.</param>
<summary>Removes the relation at the specified index from the collection.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Data.DataRelationCollection.CollectionChanged> event is fired if the remove operation succeeds.
]]></format>
</remarks>
<exception cref="T:System.ArgumentException">The collection does not have a relation at the specified index.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
<Member MemberName="RemoveCore">
<MemberSignature Language="C#" Value="protected virtual void RemoveCore (System.Data.DataRelation relation);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void RemoveCore(class System.Data.DataRelation relation) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.DataRelationCollection.RemoveCore(System.Data.DataRelation)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub RemoveCore (relation As DataRelation)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; virtual void RemoveCore(System::Data::DataRelation ^ relation);" />
<MemberSignature Language="F#" Value="abstract member RemoveCore : System.Data.DataRelation -&gt; unit&#xA;override this.RemoveCore : System.Data.DataRelation -&gt; unit" Usage="dataRelationCollection.RemoveCore relation" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="relation" Type="System.Data.DataRelation" />
</Parameters>
<Docs>
<param name="relation">The <see langword="DataRelation" /> object to verify.</param>
<summary>Performs a verification on the specified <see cref="T:System.Data.DataRelation" /> object.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">The collection does not have a relation at the specified index.</exception>
<exception cref="T:System.ArgumentException">The specified relation does not belong to this collection, or it belongs to another collection.</exception>
<related type="Article" href="https://msdn.microsoft.com/library/a4a564fb-c1c4-4135-b6c2-b030e51195e4">Adding a Relationship between Tables</related>
<related type="Article" href="https://msdn.microsoft.com/library/e5e673f4-9b44-45ae-aaea-c504d1cc5d3e">Navigating a Relationship between Tables</related>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.