Data Access has been discontinued. Please refer to this page for more information.

Serializable Entities - Overview

This article is relevant to entity models that utilize the deprecated Visual Studio integration of Telerik Data Access. The current documentation of the Data Access framework is available here.

Whether it is to create a deep copy of an object or for transport purposes in a Service, serialization is functionality that is often required for the entities of a Telerik Data Access. To ease the implementation of scenarios which require serializable entities, Telerik Data Access can generate you persistent classes ready for serialization by implementing the ISerializable interface and applying the Serializable attribute to the required properties. In this section you will see how to enable serialization for your entities and how to handle the serialization of persistent objects: