 |
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
|
|
|
|
|

November 16th, 2011, 02:34 PM
|
|
Authorized User
|
|
Join Date: Feb 2011
Posts: 23
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
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.
|
|

November 16th, 2011, 02:44 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

November 16th, 2011, 02:50 PM
|
|
Authorized User
|
|
Join Date: Feb 2011
Posts: 23
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
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
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.
|
|
|

November 16th, 2011, 02:51 PM
|
|
Authorized User
|
|
Join Date: Feb 2011
Posts: 23
Thanks: 7
Thanked 0 Times in 0 Posts
|
|
O.K. So apparently I'm not doing anything wrong but this is a malfunction?
Quote:
Originally Posted by Imar
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
|
|
|

November 16th, 2011, 02:56 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|
 |
|