コード例 #1
0
        /// <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;
        }