I created an EntityModel in Visual Studio 2010 to use with Linq. What I see in my Model Browser are:
>AcrrualEntityModel.edmx
>>SteeringWheelModel
>>>Entity Types
>>>>TblFTEReportNew
>>>>>Field1
>>>>>etc..
In my Default.aspx.cs file I should be able to call SteeringWheelModel. This object is generated with the Entity Data Model Wizard. I can see the tables and fields in the model. So, the connection to the database works.
However, in my Default.aspx.cs file I should be able to create a new instance of SteeringWheelModel, so I can use Linq to use tables and fields.
Intellisense does not pick it up. The compiler does not recognize SteeringWheelModel.
What am I missing here? Some "using", some reference?
Thanks in advance!
Roy