p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional ASP.NET 3.5 SP1 Edition: In C# and VB (http://p2p.wrox.com/forumdisplay.php?f=497)
-   -   Ch 9 p.469 O/R Design Surface behaior problem (http://p2p.wrox.com/showthread.php?t=80069)

Pegasus40218 July 8th, 2010 05:55 PM

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?

All times are GMT -4. The time now is 04:52 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.