Skip to content

Commit 0dd4062

Browse files
committed
Remove support for persistent non-generic lists.
1 parent 5187f73 commit 0dd4062

File tree

10 files changed

+562
-772
lines changed

10 files changed

+562
-772
lines changed

src/NHibernate.Test/UserCollection/Parameterized/PersistentDefaultableList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public PersistentDefaultableList(ISessionImplementor session, IList<string> list
1414

1515
public string DefaultValue
1616
{
17-
get { return ((IDefaultableList)list).DefaultValue; }
17+
get { return ((IDefaultableList)WrappedList).DefaultValue; }
1818
}
1919
}
2020
}

src/NHibernate/Bytecode/ICollectionTypeFactory.cs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,6 @@ public interface ICollectionTypeFactory
5353
/// </returns>
5454
CollectionType Bag<T>(string role, string propertyRef, bool embedded);
5555

56-
/// <summary>
57-
/// Creates a new <see cref="CollectionType"/> for an <see cref="IList"/>.
58-
/// </summary>
59-
/// <param name="role">The role the collection is in.</param>
60-
/// <param name="propertyRef">The name of the property in the
61-
/// owner object containing the collection ID, or <see langword="null" /> if it is
62-
/// the primary key.</param>
63-
/// <param name="embedded">Is embedded in XML (not supported yet)</param>
64-
/// <returns>
65-
/// A <see cref="ListType"/> for the specified role.
66-
/// </returns>
67-
CollectionType List(string role, string propertyRef, bool embedded);
68-
6956
/// <summary>
7057
/// Creates a new <see cref="CollectionType"/> for an
7158
/// <see cref="System.Collections.Generic.IList&lt;T&gt;"/> with list
@@ -80,7 +67,7 @@ public interface ICollectionTypeFactory
8067
/// </param>
8168
/// <param name="embedded">Is embedded in XML (not supported yet)</param>
8269
/// <returns>
83-
/// A <see cref="ListType"/> for the specified role.
70+
/// A <see cref="GenericListType&lt;T&gt;"/> for the specified role.
8471
/// </returns>
8572
CollectionType List<T>(string role, string propertyRef, bool embedded);
8673

0 commit comments

Comments
 (0)