Using BinaryFormatter to serialize the class into a MemoryStream and Saving to Remote SQL Server Database
Posted on 2006-05-24
Can some one tell me how to do the following use the BinaryFormatter to serialize a Business Object into a MemoryStream and save it to a column in a SQL Server database on a remote server. Then have a method that retrieves the column, deserializes it (again using the BinaryFormatter class) and rehydrates it into a new instance of the business obeject. The actucal insert, delete should be done using a stored procedure.