You can avoid the Id in your class but a PersistentObject need a POID.

2009/4/16 kor <[email protected]>

>
> by a aesthetic point of view it's only to don't add an unused columns
> with a primary key to have a simpler table,
> by a database newbie for optimization, in that table i will
> continuously insert a lot of data, if i don't need to generate an
> unique key i think that there's a great increment of insert speed (but
> i don't reed nothing regard this, maybe the benefit is very few)
>
> in general it's not so important for me, the really reason to write
> this post is to know what are the difference using an entity with/
> without a property for the id,
> i'm a newbie with nhibernate so i ask also if there's an easy way to
> don't use a primary key.
>
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to