/// <summary> /// Initializes a new instance of the <see cref="Relation"/> class. /// </summary> /// <param name="type">The type.</param> /// <remarks></remarks> protected Relation(AbstractRelationType type) { // In the base constructor for the overloads, use the field to access to avoid raising PropertyChanged event _type = type; _metaData = new RelationMetaDataCollection(); LoadStatus = RelationLoadStatus.Unsaved; }
public bool Equals(RelationMetaDataCollection other) { if (ReferenceEquals(other, null)) { return(false); } return(InnerValues.SequenceEqual(other.InnerValues)); }