Skip to content

Commit 8f5d3c2

Browse files
committed
NH-3654: Reintroduce the protected InternalBag property as was present in NHibernate 3.x. This is analogous to the InternalValues property in PersistentGenericIdentifierBag.
1 parent 16e0aa7 commit 8f5d3c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/NHibernate/Collection/Generic/PersistentGenericBag.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ public PersistentGenericBag(ISessionImplementor session, IEnumerable<T> coll)
6262
IsDirectlyAccessible = true;
6363
}
6464

65+
protected IList<T> InternalBag
66+
{
67+
get { return _gbag; }
68+
set { _gbag = value; }
69+
}
70+
6571
public override bool Empty
6672
{
6773
get { return _gbag.Count == 0; }

0 commit comments

Comments
 (0)