what is the "proxy of object"?
does isession.load(..) return an object?
I didn't understand.

2010/8/9 sbohlen <[email protected]>

> You probably want ISession.Load(object id)
>
> ISession.Load(...) returns a proxy of the object that you can then
> update but it does NOT actually query the DB to return actual data
> first (unlike ISession.Get(...) which first queries the DB to retrieve
> the data for the entity).
>
> Google a bit for more info on the difference between .Load(...)
> and .Get(...) and you will see examples of this distinction.
>
> HTH,
>
> -Steve B.
>
> On Aug 9, 11:51 am, osman nuri katib <[email protected]> wrote:
> > Hello everybody,
> > I want to update a persistent record in database(MS sql 2008) and ı dont
> > want to select the record.
> >
> > Is there another way from  "session.CreateSqlQuery()"
> >
> > please help?
> >
> > thanks..
>
>  --
> 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>


-- 
Osman Nuri KATİB
       YTÜ
Bilgisayar Mühendisliği

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