Click here to Skip to main content
15,881,882 members
Articles / Programming Languages / C#

How to serialize list of linq entities (ex. from DBML)

Rate me:
Please Sign up or sign in to vote.
4.75/5 (3 votes)
10 Dec 2009CPOL 20K   7  
Today I was trying to save list of entities those were generated by DBMLThis code shows how you can store your list in XML string and put it in ViewState, after that you get your list back.Using the CodeYou can use this code as you need.Here is class Serializatorpublic class...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions