Dataset/Adapter issue

M

Matthew Wells

Good Morning!

I have an MVC 3 project - barely startd. I'm trying to compare an Entity
Framework 4.1 model to my own dataset/class configuration. Yes I know this
will defeat the purpose of MVC, but I have my reasons. EF seems to have
limitations on compound primary keys and some other issues I'll address in
another group. I figured I would use a technique I use in my standard web
projects. My project/namespace is called "Tools". I've created a dataset
called dsMaterials with one table adapter called daMaterials. This is
connected to a Materials table. Everything good so far. Now I create a
class called Mats.cs. At the top I have

using System.ComponentModel;
using dsMaterialsTableAdapters;

This has been a pretty standard thing for me for years, but I keep getting
"the type or namespace dsMaterialsTableAdapters could not be found". I've
put them both in the same folder and changing the namespace of the Mats.cs
accordingly with no luck.

I was able to do this correctly in a Windows Forms app, but not MVC. As far
as I know, being an MVC app should not have anything to do with this. Does
anyone know the answer?

Thank you

Matthew Wells
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top