July 2015
Intermediate to advanced
1300 pages
87h 27m
English
You can easily serialize objects exposed by an Entity Data Model generated by the ADO.NET Entity Framework. In Visual Studio 2015, this process is different than in previous versions because all available options to generate data models (EF Designer or Code First) now produce Plain Old CLR Objects (POCO). For this reason, in both cases, you simply use the Serializable attribute and techniques described in the section “Providing Serialization for Custom Objects,” earlier in this chapter. This is because POCO objects are platform independent and thus are custom business objects, like the ones described previously. You can easily check this by investigating the code-behind files for EDMs. Using POCO ...