locked
To configure Entity Data Source 6.0 in Visual studio 2015 RRS feed

  • Question

  • User2059416818 posted

    Hi,

    I am using Entity Framework 6.1.3 and created EmployeeModel.edmx .

    in order to support entity framework 6.1.3. I installed Microsoft.AspNet.EntityDataSource v6.0.

    I drag and drop EntityDataSource v6.0 from toolbox but I unable to find the configure option in this.

    enter image description here

    When I click the old one I can see the configuration popup and reach the Configure Data Source screen. But when click on the new one there is no popup. So, how can I configure data source? What is wrong with this? How to populate data from sql server Datasource?

    Wednesday, March 29, 2017 8:40 AM

Answers

  • User-707554951 posted

    Hi poornima82,

    For your problem, as far as I know, you need to Create an instance of the data model. MetaModel DefaultModel = new MetaModel(). Then you could Register the data model.

    using System.Web.DynamicData;
    
    MetaModel DefaultModel = new MetaModel();

    For more information, please refer to the link below:

    https://msdn.microsoft.com/en-us/library/ee923692.aspx

    Best regards

    Cathy

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 30, 2017 10:46 AM

All replies