/// <summary> /// Removes all elements from the RelatedObjectList /// </summary> public void Clear() { if (IsReadOnly) { throw new InvalidOperationException("Cannot clear a read-only list."); } ProjectionList.Clear(); Owner.IsDirty = true; }
/// <summary> /// Removes all elements from the RelatedObjectList /// </summary> public void Clear() { if (IsReadOnly) { throw new InvalidOperationException("Cannot clear a read-only list."); } ProjectionList.Clear(); Owner.IsDirty = true; }