IModelMultiRelationship Interface
Used to add multiple relationships.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Interface IModelMultiRelationship _
Inherits IModelRelationship, IModelEntity, IList(Of IModelElement), _
ICollection(Of IModelElement), IEnumerable(Of IModelElement), IEnumerable
public interface IModelMultiRelationship : IModelRelationship,
IModelEntity, IList<IModelElement>, ICollection<IModelElement>,
IEnumerable<IModelElement>, IEnumerable
public interface class IModelMultiRelationship : IModelRelationship,
IModelEntity, IList<IModelElement^>, ICollection<IModelElement^>,
IEnumerable<IModelElement^>, IEnumerable
type IModelMultiRelationship =
interface
interface IModelRelationship
interface IModelEntity
interface IList<IModelElement>
interface ICollection<IModelElement>
interface IEnumerable<IModelElement>
interface IEnumerable
end
public interface IModelMultiRelationship extends IModelRelationship, IModelEntity, IList<IModelElement>, ICollection<IModelElement>, IEnumerable<IModelElement>, IEnumerable
The IModelMultiRelationship type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IModelElement>.) | |
FromElement | Gets the relating element. (Inherited from IModelRelationship.) | |
IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IModelElement>.) | |
Item | Gets or sets the element at the specified index. (Inherited from IList<IModelElement>.) | |
Model | Gets the model reference. (Inherited from IModelEntity.) | |
RelationshipClass | Gets the metadata class. (Inherited from IModelRelationship.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection<T>. (Inherited from ICollection<IModelElement>.) | |
AddElement | Adds a relationship entry (based on an element) to the end of the relationship. | |
AddRelationshipEntry | Adds an empty relationship entry to the end of the relationship. | |
Clear | Removes all items from the ICollection<T>. (Inherited from ICollection<IModelElement>.) | |
Contains | Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IModelElement>.) | |
CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IModelElement>.) | |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IModelElement>.) | |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
GetReferencedElements | Returns the related elements. (Inherited from IModelRelationship.) | |
GetReferencedRelationshipEntries | Returns the related relationship entries. (Inherited from IModelRelationship.) | |
GetRelationshipEntry | Returns a relationship entry at the specified index. | |
IndexOf(T) | Determines the index of a specific item in the IList<T>. (Inherited from IList<IModelElement>.) | |
IndexOf(IModelElement, Int32) | Reports the index of the first occurrence of the relationship entry based on a specified element. | |
Insert | Inserts an item to the IList<T> at the specified index. (Inherited from IList<IModelElement>.) | |
InsertElement | Inserts a relationship entry (based on an element) at the specified index. | |
InsertRelationshipEntry | Inserts an empty relationship entry at the specified index. | |
Remove | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IModelElement>.) | |
RemoveAt | Removes the IList<T> item at the specified index. (Inherited from IList<IModelElement>.) |
Top