SubSonic 2.2 missing stored procedures in StoredProcedures.cs when generated with sonic.exe

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-05-07T02:28:26Z Indexed on 2010/05/07 2:38 UTC
Read the original article Hit count: 661

We are trying to move from SubSonic 2.0.3 to 2.2 (not using .NET 3.5).

When we regenerate the project using SubCommander\sonic.exe and try to compile we get some errors reporting missing members (which should have been automatically generated based on the stored procedures we have).

On closer inspection it looks like my StoredProcedures.cs file is missing some (not all) automatically generated methods for my classes.

As an example, I have 2 procs: [dbo]._ClassA_Func1 [dbo]._ClassA_Func2

Only one of these is being generated in the StoredProcedures.cs file.

I have checked the permissions of both procs using fn_my_permissions and they seem identical.

Does anyone have any ideas on what I can check?

Thanks -- Mark

© Stack Overflow or respective owner

Related posts about subsonic2.2

Related posts about stored-procedures