Constructors
-
Data
Relation protected Initializes a new instance of the DataRelationCollection class.Collection()
Methods
-
Add(Data
Column, virtual Creates a DataRelation with a specified parent and child column, and adds it to the collection.Data Column) -
Add(Data
Column[], virtual Creates a DataRelation with the specified parent and child columns, and adds it to the collection.Data Column[]) -
Add(Data
Relation) Adds a DataRelation to the DataRelationCollection. -
Add(String,
Data virtual Creates a DataRelation with the specified name, and parent and child columns, and adds it to the collection.Column, Data Column) -
Add(String,
Data virtual Creates a DataRelation with the specified name, parent and child columns, with optional constraints according to the value of the createConstraints parameter, and adds it to the collection.Column, Data Column, Boolean) -
Add(String,
Data virtual Creates a DataRelation with the specified name and arrays of parent and child columns, and adds it to the collection.Column[], Data Column[]) -
Add(String,
Data virtual Creates a 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.Column[], Data Column[], Boolean) -
Add
Core(Data protectedvirtual Performs verification on the table.Relation) -
Add
Range(Data virtual Copies the elements of the specified DataRelation array to the end of the collection.Relation[]) -
Can
Remove(Data virtual Verifies whether the specified DataRelation can be removed from the collection.Relation) - Clear() virtual Clears the collection of any relations.
- Contains(String) virtual Verifies whether a DataRelation with the specific name (case insensitive) exists in the collection.
-
Copy
To(Data Copies the collection of DataRelation objects starting at the specified index.Relation[], Int32) -
Get
Data protectedabstract This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.Set() -
Index
Of(Data virtual Gets the index of the specified DataRelation object.Relation) -
Index
Of(String) virtual Gets the index of the DataRelation specified by name. -
On
Collection protectedvirtual Raises the CollectionChanged event.Changed(Collection Change Event Args) -
On
Collection protectedvirtual Raises the CollectionChanged event.Changing(Collection Change Event Args) -
Remove(Data
Relation) Removes the specified relation from the collection. - Remove(String) Removes the relation with the specified name from the collection.
-
Remove
At(Int32) Removes the relation at the specified index from the collection. -
Remove
Core(Data protectedvirtual Performs a verification on the specified DataRelation object.Relation)
Properties
- Item abstract
Events
-
Collection
Changed Occurs when the collection has changed.