Share via


IModelMultiRelationship<TRelating, TRelated> Members

Include Protected Members
Include Inherited Members

Used to add multiple relationships.

The IModelMultiRelationship<TRelating, TRelated> type exposes the following members.

Methods

 

Name

Description

Public method

Add

Adds an item to the ICollection<T>. (Inherited from ICollection<TRelated>.)

Public method

AddElement

Adds a relationship entry (based on an element) to the end of the relationship.

Public method

AddRelationshipEntry

Adds an empty relationship entry to the end of the relationship.

Public method

Clear

Removes all items from the ICollection<T>. (Inherited from ICollection<TRelated>.)

Public method

Contains

Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<TRelated>.)

Public method

CopyTo

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<TRelated>.)

Public method

GetEnumerator

Overloaded.

Public method

GetRelatedElements

Gets a list of the related elements. (Inherited from IModelRelationship<TRelating, TRelated>.)

Public method

GetRelatedRelationshipEntries

Gets a list of the related relationship entries. (Inherited from IModelRelationship<TRelating, TRelated>.)

Public method

GetRelationshipEntry

Returns a relationship entry at the specified index.

Public method

IndexOf

Overloaded.

Public method

Insert

Inserts an item to the IList<T> at the specified index. (Inherited from IList<TRelated>.)

Public method

InsertElement

Inserts a relationship entry (based on an element) at the specified index.

Public method

InsertRelationshipEntry

Inserts an empty relationship entry at the specified index.

Public method

Remove

Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<TRelated>.)

Public method

RemoveAt

Removes the IList<T> item at the specified index. (Inherited from IList<TRelated>.)

Top

Properties

 

Name

Description

Public property

Count

Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<TRelated>.)

Public property

IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<TRelated>.)

Public property

Item

Gets or sets the element at the specified index. (Inherited from IList<TRelated>.)

Public property

Model

Gets the model reference. (Inherited from IModelEntity.)

Public property

RelatingElement

Gets the relating element. (Inherited from IModelRelationship<TRelating, TRelated>.)

Public property

RelationshipClass

Gets the metadata class. (Inherited from IModelRelationship<TRelating, TRelated>.)

Top

See Also

Reference

IModelMultiRelationship<TRelating, TRelated> Interface

Microsoft.Data.Schema.SchemaModel Namespace