Question

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.

Was it helpful?

Solution

v3.x isn't entirely backward compatible with v2.x. The collection classes aren't really needed any more. v3.x uses List instead of *Collection (the old v2 *Collection classes derived from this already).

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top