SubSonic – No stored procedures?

Using C# 2.0 + MySQL + SubSonic 2.1 I ran into a problem where no stored procedures were being generated. I did some webdigging but did not find the exact answer (was asking the wrong question).

Anyways after diving into the subsonic code I found the source of the problem but was not certain how to fix it. Another web search got me the answer here:

http://forums.subsonicproject.com/Search?q=+sp.SchemaName+%3D+rdr%5B%22SPSchema%22%5D.ToString%28%29%3B

Basically remove sp.SchemaName = rdr[“SPSchema”].ToString(); from DataService, approximately line 420.

There are more elegant solutions available, but this got me through the initial hurdle.

Related Posts

No related posts.

lazycovernew_all (Small)

Buy Direct

START A CAREER IN GAME DESIGN AWARD WINNING SCIENCE FICTION COMPLETE SERIES


Brent Knowles

Amazon * Twitter * Start a Game Design Career * iTunes * AnthologyBuilder * Stories * Empire Avenue