Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

.net Entity Data Model: possible to have multiple mappings for one Entity Model

Avatar of exactjb
exactjbFlag for United States of America asked on
Databases.NET Programming
5 Comments1 Solution688 ViewsLast Modified:
The .NET Entity Data Model seems like a cool idea. You code against the abstract model without caring what the underlying data really looks like in the DB.

But if you design a general Entity Model for your app, can you then associate that with several different mappings to fit different databases that your app might ultimately work with?

As a trivial example, let's say I want to build a neat name and address card file app. I design an Entity Model for names and addresses. But I want this to be built in one case against an ERP's database. For a different build I want it to run against some e-mail system's Address Book database. In a third build it runs against a client's custom in house database.

It looks to me like an Entity Model is locked to a single database model. If this is the case, it looses some of its allure.

Do I have the wrong idea here?
ASKER CERTIFIED SOLUTION
Avatar of Mark Wills
Mark WillsFlag of Australia imageTopic Advisor
Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answers