PC Review


Reply
Thread Tools Rate Thread

Deserialization

 
 
Joe
Guest
Posts: n/a
 
      26th Oct 2008
Hi All!

I have a case where I need to deserialize an object which contains a
DataTable without deserializing the Rows. Is this possible?

I thought I would use a SerializationSurrogate but it looks like this will
only allow me to decide whether or not to deserialize my entire object.

Am I wrong with this thinking?

Thanks for any help,
Joe


 
Reply With Quote
 
 
 
 
Petar Repac
Guest
Posts: n/a
 
      26th Oct 2008
Joe wrote:
> Hi All!
>
> I have a case where I need to deserialize an object which contains a
> DataTable without deserializing the Rows. Is this possible?
>
> I thought I would use a SerializationSurrogate but it looks like this will
> only allow me to decide whether or not to deserialize my entire object.
>
> Am I wrong with this thinking?
>
> Thanks for any help,
> Joe
>
>


Seems like ISerializationSurrogate can help, but only if you use it when
serializing and deserializing.

HIH, Petar
 
Reply With Quote
 
Joe
Guest
Posts: n/a
 
      26th Oct 2008
I turns out that I was about to use the ISerializationSurrogate interface
after all.

"Joe" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All!
>
> I have a case where I need to deserialize an object which contains a
> DataTable without deserializing the Rows. Is this possible?
>
> I thought I would use a SerializationSurrogate but it looks like this will
> only allow me to decide whether or not to deserialize my entire object.
>
> Am I wrong with this thinking?
>
> Thanks for any help,
> Joe
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding XML deserialization =?Utf-8?B?RmFpemEgQXNocmFm?= Microsoft Dot NET 0 30th Jan 2007 11:36 AM
XML Deserialization yoshijg Microsoft C# .NET 12 18th Dec 2005 09:47 PM
XML deserialization gavkel Microsoft C# .NET 5 6th Oct 2005 06:17 PM
Deserialization DazedAndConfused Microsoft VB .NET 2 6th Jul 2005 05:56 PM
XML Deserialization Random Microsoft Dot NET Framework 0 27th Jul 2004 12:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:38 PM.