This project is read-only.

We must find a better way

Jul 30, 2009 at 1:07 AM

Hey all!

So whats the trick to updating some code.. I added a new column to the Blog Configuration table (ShowCalender) so that I can show/hide the calender. The problem is the OLD posts fail to load, cos the persisted entries don't have the column.

 

So how can I update code and update the existing content as well????

Aug 6, 2009 at 12:32 PM

A simple linq to xml script that adds this column to the nodes that don't have it would do.

NOTE: choose the default value carefully.

 

have fun!