Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2116
Is it possible to store my database object in the dataitem property of Appointment?
posted

I'm binding and mapping appointment objects to my database objects and it would be really convenient to be able the entire object in the appointment objects of the datamanager.

Parents
No Data
Reply
  • 35319
    posted

    Hi,

     

    Thank you for your post. I have been looking into your question and if you are mapping the properties of the own class to these ones of the Appointment class, you could serialize your class in order to convert the objects to byte array. I am attaching a sample application(MyAppointmentSerialization.zip) where I am showing  how to serialize/deserialize object of type MyAppointment(which is mapped to the Appointment class) using XML Serialization.

     

    Let me know, if you need any further assistance on this matter.

    MyAppointmentSerialization.zip
Children