Пример #1
0
 public ICollection GetOrphans(string entityName, IPersistentCollection collection)
 {
     if (snapshot == null)
     {
         throw new AssertionFailure("no collection snapshot for orphan delete");
     }
     return(collection.GetOrphans(snapshot, entityName));
 }
Пример #2
0
		public ICollection GetOrphans(string entityName, IPersistentCollection collection)
		{
			if (snapshot == null)
			{
				throw new AssertionFailure("no collection snapshot for orphan delete");
			}
			return collection.GetOrphans(snapshot, entityName);
		}