Class AssociationOwnedEndCollection
Denotes a class to implement the ownedEnd reference
public class AssociationOwnedEndCollection : ObservableOppositeList<IAssociation, IProperty>, IReadOnlyList<IProperty>, IReadOnlyCollection<IProperty>, IList, ICollection, INotifyCollectionChanging, INotifyPropertyChanged, INotifyCollectionChanged, IListExpression<IProperty>, IList<IProperty>, ICollectionExpression<IProperty>, IEnumerableExpression<IProperty>, IEnumerableExpression, ICollection<IProperty>, IEnumerable<IProperty>, IEnumerable
- Inheritance
-
AssociationOwnedEndCollection
- Implements
- Inherited Members
Constructors
AssociationOwnedEndCollection(IAssociation)
Creates a new instance
public AssociationOwnedEndCollection(IAssociation parent)
Parameters
parent
IAssociationthe parent Association
Methods
SetOpposite(IProperty, IAssociation)
Sets the opposite of the given item
protected override void SetOpposite(IProperty item, IAssociation newParent)
Parameters
item
IPropertythe item
newParent
IAssociationthe new parent or null, if the item is removed from the collection