Hi All

I have some name-value pairs that I want to use to set values in my
serializable object  ( created from Entity Framework )

 

What would be the best way?

 

I have been trying using the System.Runtime.Serialization functions, but I
can't figure out how to get the serialization info into a stream 

Am I on the right track?

 

   System.Runtime.Serialization.FormatterConverter fc = new
System.Runtime.Serialization.FormatterConverter();

                        

   SerializationInfo inf = new SerializationInfo (typeof(Organisation),fc);

   foreach ( ChangeValue cv in op.ChangeValues)

     {

          inf.AddValue(cv.PropertyName, cv.Value);

      }

 

   

Thanks

Kirsten

Reply via email to