Thanks to all for your answers. As I see there is no "absolute" solution. VFP is very well known for having several routes to solve a problem. Most of the times it's an advantage, but sometimes can be a disadvantage.
>Hi Jaview,
>I use several different classes. DE, Container, Relation, Session, etc.
>Remember, if you design using a class like Container, you can always put it in it's own private datasession by using a Session object to create it.
>
>oPS = NEWOBJECT("SessionBase", "SessionBase.PRG")
>oBiz = oPS.Create("MyBizObj", "Some.PRG")
>
>************************************
>DEFINE CLASS SessionBase AS Session
> PROCEDURE Create (ClassName, ClassLib)
> RETURN NEWOBJECT(m.ClassName, m.ClassLib)
> ENDPROC
>ENDDEFINE
>
>
>>Hi all, I use Session class for my business objects, but I don't really know if DataEnvironment class would be a better class (or any other for that matter).
>>
>>I'm seeking for advice on which class is more suited for business objects, and what are the pros and cons of using one approach or the other.
>>
>>Thanks,
>>Javier.