how to serialize class to database instead of file system c#
<p>we can easily serialize class to flat file but if i want to serialize class to database then how could i do it and if it is possible then how can i deserialize data from db to class.
please give a sample code in c#.</p>

<p>thanks</p>
