DataSet Serialization

On Day 1, you were introduced to the concept of the DataSet by learning that it's the core of the disconnected programming model in ADO.NET. Because it's useful in disconnected scenarios and distributed applications, it must be able to be serialized and deserialized when passed between tiers in an application or persisted to disk. In this final section for today, you'll learn how the DataSet is passed between tiers in a distributed application and how you can persist it to disk in a disconnected applications.

Passing DataSets

By default, an instance of a class in .NET can be passed by value or by reference to, as well as returned from, any method exposed by an object that lives in the same Application Domain. However, in ...

Get Sams Teach Yourself ADO.NET in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.