How can I change that in automapping override? Can't see AsSet here...
On 22/03/2011 11:05 AM, Paul Batum wrote:
You have to map the collection in an automapping override and call
AsSet(). You can't change it in conventions, this is a known issue and
not an easy fix.
On Mon, Mar 21, 2011 at 5:52 PM, Krzysztof Kozmic
<[email protected] <mailto:[email protected]>> wrote:
How can I change collection mapping from being a bag to being a set on
my one to many?
in the model they are IEnumerable<Foo> readonly property backed by a
ICollection<Foo> private field.
I know that if instead of IEnumerable I expose it as ISet it will work
but I want to stick to IEnumerable.
Thanks,
Krzysztof
--
You received this message because you are subscribed to the Google
Groups "Fluent NHibernate" group.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]
<mailto:fluent-nhibernate%[email protected]>.
For more options, visit this group at
http://groups.google.com/group/fluent-nhibernate?hl=en.
--
You received this message because you are subscribed to the Google
Groups "Fluent NHibernate" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fluent-nhibernate?hl=en.
--
You received this message because you are subscribed to the Google Groups "Fluent
NHibernate" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fluent-nhibernate?hl=en.