We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93907b2 commit 100e79fCopy full SHA for 100e79f
src/NHibernate/Type/GenericBagType.cs
@@ -53,7 +53,7 @@ public override System.Type ReturnedClass
53
/// </returns>
54
public override IPersistentCollection Wrap(ISessionImplementor session, object collection)
55
{
56
- return new PersistentGenericBag<T>(session, (ICollection<T>) collection);
+ return new PersistentGenericBag<T>(session, (IEnumerable<T>) collection);
57
}
58
59
protected override void Add(object collection, object element)
0 commit comments