LINQ in Action roller

Storing objects in database

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...
Published Monday, May 21, 2007 8:20 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication