Entity Framework 4 error 11009 Property is not mapped

Hello there,

I am trying to learn Entity Framework 4 and therefore I am creating a small reference application. I am starting with Model first approch and right now I don't have any database.

After adding the Entities and their Associations, I am getting error: 11009: Property 'BookCategory' is not mapped.
 I understand that I need to add column mapping for BookCategoryId, but how could I do that?

Basically how to map: One-to-One, One-to-many (with foreign keys), Many-to-Many after association has been added.
ScreenShot.jpg
tech1guyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
I believe that means that you don't have anything mapped on the association.  Double-click on the association line, and make sure that you have a parent table, parent primary key column(s), child table, and child primary key column(s) defined for the association.
tech1guyAuthor Commented:
That's not the case...........association properties displays the association correctly.
Bob LearnedCommented:
The image that you have shows that you have the Book entity selected, which is showing the mapping for Books.  Can you select the BookCategory entity, and show me that table mapping?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.