I am trying to store serializable objects in the database using Linq to Sql. I have created a binary field in the table. When I drop the table on the designer it creates a byte array as the property type. Then I use BinaryFormatter to Serialize and Deserialize from this byte array. It is working, but I have noticed that I can also set the property as an object in the designer. When I set the property as object it throws an exception. Is there any simple way to store an .net object into database using
Read More...