|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SerializationI wanted to store the object of a .NET C# class in the image column of SQL
Server, so i added the [Serializable] attribute to the class. At run time, it kept throwing exceptions referring to some related class not being serialized. This kept on and on. If a class has to be serialized, is there any rule on which relations also need to be serialized ? Any class that is part of a class that is serialized must be serializable.
-- Show quoteHTH, Kevin Spencer Microsoft MVP Printing Components, Email Components, FTP Client Classes, Enhanced Data Controls, much more. DSI PrintManager, Miradyne Component Libraries: http://www.miradyne.net "Chakravarthy" <r_chakravar***@hotmail.com> wrote in message news:%23tUrNIzkHHA.3512@TK2MSFTNGP06.phx.gbl... >I wanted to store the object of a .NET C# class in the image column of SQL >Server, so i added the [Serializable] attribute to the class. At run time, >it kept throwing exceptions referring to some related class not being >serialized. This kept on and on. > > If a class has to be serialized, is there any rule on which relations also > need to be serialized ? > > |
|||||||||||||||||||||||