Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : 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 December 31st, 2016, 06:20 PM
Authorized User
 
Join Date: Nov 2016
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default Mapping Data Model, Ch 14

Hello,

I've been successful at setting up the data model in Ch 14 for the Genre and Review database files. Output was as advertised. However when I open the same database in subsequent Try It Out and try to add two more files, PhotoAlbum and Picture in the SSMS that seems to work correctly but when I go back to VS and open the PlanetWrox.edmx file the Picture file dos not show up in the Wizard after clicking Update Model from Database. I've reentered it several times, and entirely recreated PlanetWrox.edmx but the Picture file will not show up. Can you suggest a fix?

Thanks
 
Old January 2nd, 2017, 10:44 AM
Authorized User
 
Join Date: Nov 2016
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
Default Solved problem

Hello,

I finally went back and recreated the PlanetWrox.mdf from scratch, entering my own data and creating the proper relationships in SSMS. That took 30 min as opposed to several hours trying to make the example files work.

Also, logging on to SSMS server name (LocalDB)\MSSQLLocalDB cleared-up many of the other snags I was experiencing.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 14 A simple model binding application hansheung BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 2 November 22nd, 2016 05:42 AM
[Ch.14 Pg.503] Entity Framework model Bassios BOOK: Beginning ASP.NET 4.5 : in C# and VB 3 June 19th, 2016 02:00 AM
Ch 14 generating entity model AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 2 April 30th, 2014 07:51 AM
Chapter 14 : Mapping data model to an object model robochrish BOOK: Beginning ASP.NET 4 : in C# and VB 8 March 5th, 2013 09:52 AM
Chapter 14 - ADO.NET Entity Data Model Sean1980 BOOK: Beginning ASP.NET 4 : in C# and VB 3 July 15th, 2011 12:24 PM





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