Ch 9 p.469 O/R Design Surface behavior problem
I'm attempting to follow the instructions for adding the GetGenre() stored procedure to the design surface (drop it on the Genres table on the design surface). When I do this, however, I get the following error: "One or more selected database objects return a schema that does not match the schema of the target data class. Nothing has been added to the designer.
I am able to drop the stored proc directly on the design surface (not on a table), and it gets added, but the function has a return type of integer instead of returning an instance of the Genre class.
Is there something that I'm doing wrong or overlooking?
Last edited by Pegasus40218; July 9th, 2010 at 09:27 AM..
Reason: corrected spelling in title.