Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : 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 November 16th, 2011, 02:34 PM
Authorized User
 
Join Date: Feb 2011
Posts: 23
Thanks: 7
Thanked 0 Times in 0 Posts
Default Trouble Creating Entity Framework Model

I am trying to apply what I learned to a real application now. I am following the steps on page 481 to create an ADO.NET Entity Data Model based on my existing Oracle Database. When I perform step 2 by selecting "Generate from Database" and clicking next the "Choose Your Database" dialog flashes for just a moment and then disappears giving me no time to even read what is selected from the drop down. It does not create a .edmx file. I tried creating an empty one but I can't figure out how to select a connection once I do.

I am using an ASP.NET Web Application not a Web Site. I can see the tables that I want in the model in the Server Explorer.

Any help would be appreciated.
 
Old November 16th, 2011, 02:44 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You may want to try posting this in a more general ADO.NET / Oracle category here at p2p.wrox.com Alteratively, if you think it's a bug in VWD you can report it at http://connect.microsoft.com

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old November 16th, 2011, 02:50 PM
Authorized User
 
Join Date: Feb 2011
Posts: 23
Thanks: 7
Thanked 0 Times in 0 Posts
Default

I misspoke. I am using a Class Library Template for the Data Access Project. I will eventually be creating a Web App project.

Quote:
Originally Posted by floridaguy View Post
I am trying to apply what I learned to a real application now. I am following the steps on page 481 to create an ADO.NET Entity Data Model based on my existing Oracle Database. When I perform step 2 by selecting "Generate from Database" and clicking next the "Choose Your Database" dialog flashes for just a moment and then disappears giving me no time to even read what is selected from the drop down. It does not create a .edmx file. I tried creating an empty one but I can't figure out how to select a connection once I do.

I am using an ASP.NET Web Application not a Web Site. I can see the tables that I want in the model in the Server Explorer.

Any help would be appreciated.
 
Old November 16th, 2011, 02:51 PM
Authorized User
 
Join Date: Feb 2011
Posts: 23
Thanks: 7
Thanked 0 Times in 0 Posts
Default

O.K. So apparently I'm not doing anything wrong but this is a malfunction?

Quote:
Originally Posted by Imar View Post
Hi there,

You may want to try posting this in a more general ADO.NET / Oracle category here at p2p.wrox.com Alteratively, if you think it's a bug in VWD you can report it at http://connect.microsoft.com

Cheers,

Imar
 
Old November 16th, 2011, 02:56 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not 100% sure, but it sounds as if what you're doing should work. Embedding an EDMZ in a Class Library is certainly possible. You'll get an app.config file wit the necesary connection string.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
floridaguy (November 16th, 2011)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 14 - ADO.NET Entity Data Model Sean1980 BOOK: Beginning ASP.NET 4 : in C# and VB 3 July 15th, 2011 12:24 PM
Switching To entity framework luckystar BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 0 July 31st, 2009 09:52 PM
confusing in ADO.NET Entity Data Model,Linq to sql angelboy ADO.NET 5 November 21st, 2008 05:01 PM
The BeerHouse and Entity Framework docluv BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 October 3rd, 2008 01:32 PM





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