Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dataset/Adapter issue

2 views
Skip to first unread message

Matthew Wells

unread,
Apr 11, 2012, 10:06:00 AM4/11/12
to
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
matthe...@firstbyte.net


0 new messages