Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Allow parameter list as ienumerable and simplify IQuery
Description
IQuery.SetParameterList accepts an ICollection. Today when generic are mainstream it means some wrapping or casting - not that many generic interfaces impl ICollection. I changed this to accept a more general IEnumerable instead.
Minor: This patch also changes Restrictions.InG<T> to accept an IEnumerable<T> instead of a ICollection<T>.
IQuery.SetParameterList accepts an ICollection. Today when generic are mainstream it means some wrapping or casting - not that many generic interfaces impl ICollection.
I changed this to accept a more general IEnumerable instead.
Minor:
This patch also changes Restrictions.InG<T> to accept an IEnumerable<T> instead of a ICollection<T>.