Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

Cannot reference ADO.NET model

$
0
0

I created a new MVC4 project and selected web api as the template. Then I created a new local database, made tables, and, created ADO.NET file and generated a new model from that database. Problem: When I go to a *Controller.js file, and try to import the model, I cannot - when I type "using", the intelisense has no reference to the model, as if it does not exist at all.

In a project I was working on before (web forms project), I do have that reference. I've been having trouble with this for hours now...

Any Ideas?


Viewing all articles
Browse latest Browse all 4850


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>