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.
Hello,
I am just checking if you require any further assistance on the matter.
Hi,
Thank your for your reply. I have been looking into your new question and I assume that you would like to use stored procedure in order to save your object in the database.
In this scenario you need to convert your object (e.g. MyAppointment) into byte array like shown in the sample application from my previous reply and after that store it to the datatbase using a SQL stored procedure. The following link show how could look a procedure for saving an file using this approach:
http://stackoverflow.com/questions/11133996/how-to-store-image-in-sql-using-stored-procedure
Let me know, if you need any further assistance on this matter.
Is this possible to do with a sql database store?
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.