cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: updating...
Date Wed, 22 Jul 2009 10:17:22 GMT

On Jul 22, 2009, at 1:01 PM, Juan Toro Marty wrote:

> Perfiles perfil = this.getPerfil(objid);//with this i retrieve an
> object Perfil. then...
> perfil.setName = name;
> perfil.setAge = age;
> ....etc...
> this.datacontext.commitChanges();

assuming 'perfil' is created in the same 'datacontext' as  
'this.datacontext', this looks about right.

Andrus


Mime
View raw message