Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why are two different processes to configure the serialization and to map the object ?

0
Posted

Why are two different processes to configure the serialization and to map the object ?

0

Even if sometime they may appear similar or an overhead, they represent two completely different processes. Serialization is the process of converting your object in a data content, independent from every data source like Xml or a database. In other words serialization tells which members, with which name and type are data content. Mapping is the process of associating serialized data with database tables and fields, depending on your schema and database rules. For example if you map your objects to Xml or an Access database for offline data elaboration and an Oracle or Sql server database for online data transactions, you should use the same serialization configuration but probably a different mapping. You can also map your objects to completely different database schemas, but the serialization should be the same. DADO Database Mapper provides different serialization surrogates, for example one serializing all public members (properties and fields), one working only on the fields (pub

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.