SubSonic 3 Compatiblity Problem with Not Autogenerated Collections

collectionssubsonicsubsonic3

Had a system with v2 running well. Swapped out the Visual Studio reference for the v2 DLL to the v3 DLL. Rebuilt the project. Errors.

I used to have things called "MyYahooCollection", now I only have "MyYahoo" and "MyYahooTable". The collections seem to be gone.

What did I miss?

I am using SQL Server 2005 on the back-end and am implementing ActiveRecord.

Thanks.

Best Answer

Subsonic 3 is NOT compatible with Subsonic 2. If you've got a Subsonic 2.x project, you can't "just" upgrade it. It will not work. Rob described that tradeoff pretty early in the alpha phase of 3.x.

Because 3.x uses LINQ for much of the overall approach and moves away from the *Collection objects toward more IEnumerable and List objects, it requires a much bigger refactoring to use it to replace a 2.x implementation.

Related Topic