If you want Id for cascadesession.Persist(

2009/9/14 Topflysecurity <[email protected]>

>
> hi. i wonder what i am missing. let's say i got a Customer and i add a
> CustomerPhone, when i try to use the CustomerPhone id right after the
> save it is 0. i really haven't had this problem before and i don't
> know what to search for on google. so i give it a shot here
>
> i read in a other post that i should persist with the session.save();
> i do call the session.save() in my repository for the save
>
> so what does it mean persist and what could i be missing?
>
> >
>


-- 
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