Groups
Groups
Sign in
Groups
Groups
Fluent NHibernate
Conversations
About
Send feedback
Help
assigned id is defaulting to Guid.Comb
20 views
Skip to first unread message
Al Todd
unread,
Dec 15, 2012, 8:40:33 AM
12/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fluent-n...@googlegroups.com
Any idea why a property mapped like this:
mapping.Id().GeneratedBy.Assigned();
Would choose the
GuidComb()
generator?
It is playing havoc with my ISession.Save(entity); calls!
Al Todd
unread,
Dec 15, 2012, 8:46:28 AM
12/15/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fluent-n...@googlegroups.com
Turns out it was the difference between:
mapping.Id().GeneratedBy.Assigned();
and
mapping.Id(x => x.Id).GeneratedBy.Assigned();
Reply all
Reply to author
Forward
0 new messages