Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 3.5 SP1 Edition: In C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 3.5 SP1 Edition: In C# and VB by Bill Evjen, Scott Hanselman, and Devin Rader; ISBN: 9780470478264
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 3.5 SP1 Edition: In C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 8th, 2010, 05:55 PM
Authorized User
Points: 71, Level: 1
Points: 71, Level: 1 Points: 71, Level: 1 Points: 71, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2009
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default 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.

Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 10 Updatepanel - Design view RobertVL ASP.NET 3.5 Basics 2 July 6th, 2008 06:13 AM
Throughput/Design Problem tobriain C# 0 June 28th, 2007 10:04 AM
Coons Surface problem pls Help ganesh_pawar13583 Visual C++ 0 August 25th, 2005 08:42 AM
Surface in a userform Rosser VB How-To 0 March 31st, 2004 06:07 AM

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