An entities have behavior.
There is no way to serialize that.

2011/4/12, Jason Meckley <[email protected]>:
> the best advice is don't. if you need to serialize then project to a DTO.
> there are numerous issues with serializing domain objects. bidirectional
> relationship, internal state, NH AOP type stuff. context specific DTOs are
> the perfect fit serialization.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" 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/castle-project-users?hl=en.
>
>

-- 
Enviado desde mi dispositivo móvil

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to