public ICollection GetOrphans(string entityName, IPersistentCollection collection)
 {
     if (snapshot == null)
     {
         throw new AssertionFailure("no collection snapshot for orphan delete");
     }
     return(collection.GetOrphans(snapshot, entityName));
 }
		public ICollection GetOrphans(string entityName, IPersistentCollection collection)
		{
			if (snapshot == null)
			{
				throw new AssertionFailure("no collection snapshot for orphan delete");
			}
			return collection.GetOrphans(snapshot, entityName);
		}