예제 #1
0
        /// <summary>
        /// The delete all child collections.
        /// </summary>
        /// <param name="collection">
        /// The collection.
        /// </param>
        private void DeleteAllChildCollections(IEntityCollection collection)
        {
            if (!this.HasChildEntityCollections(collection.Key))
            {
                return;
            }

            Delete(collection.ChildCollections());
        }
예제 #2
0
        /// <summary>
        /// The delete all child collections.
        /// </summary>
        /// <param name="collection">
        /// The collection.
        /// </param>
        private void DeleteAllChildCollections(IEntityCollection collection)
        {
            if (!this.HasChildEntityCollections(collection.Key)) return;

            Delete(collection.ChildCollections());
        }