Grupo de Arquitectura de Software Português


Welcome to GASP Sign in | Join | Help
in Search

Browse by Tags

All Tags » SOA » CodeSnippets   (RSS)
  • Mapping objects through domains using serialization

    Lately in a forum, someone asked for a simple mapper between objects from different domains (ex: Service Data Contract & Internal Types). Here's a simple way of do it, just as simple as using serialization. We serialize the source domain object, handle the xml, and then deserialize it to the destination type. public static  object Map (object ...
    Posted to Hugo Batista (Weblog) by hbatista on February 27, 2006
Powered by Community Server (Personal Edition), by Telligent Systems