Skip to content

Commit 100e79f

Browse files
committed
fixup! NH-3345 - Remove support for non generic bags
1 parent 93907b2 commit 100e79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Type/GenericBagType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public override System.Type ReturnedClass
5353
/// </returns>
5454
public override IPersistentCollection Wrap(ISessionImplementor session, object collection)
5555
{
56-
return new PersistentGenericBag<T>(session, (ICollection<T>) collection);
56+
return new PersistentGenericBag<T>(session, (IEnumerable<T>) collection);
5757
}
5858

5959
protected override void Add(object collection, object element)

0 commit comments

Comments
 (0)