This is a migrated thread and some comments may be shown as answers.

Configure EntityDataSource with EF 4.1 and ADO.NET DbContext Generator

3 Answers 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 31 Mar 2011, 04:16 AM
I'm using the latest drop of Entity Framework 4.1 (RC).
I have added ADO.NET DbContext Generator.

When I try to configure an EntityDataSource with the "Configure Entity Data Source" wizard I can choose an existing data connection but I'm getting a blank panel on the "Choose an object context" step.

I have a reference to the EntityFramework  assembly(4.1) and System.Data.Entity and my assembly containing my EF DbContext. But I see nothing.

I am using EF 4.1 with the ADO.NET DbContext Generator code generation template. This generates an entity that derives fro m DbContext rather than ObjectContext.

Does this wizard (or EntityDataSource) work with EF 4.1 and ADO.NET DbContext Generator?

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Apr 2011, 04:39 PM
Hi Jonathan,

Currently only ObjectContext is supported. However support for DbContext is in our TO DO list and we will further research and add this functionality in a subsequent version of Telerik Reporting. In the meantime you should use the ObjectDataSource component to wire them up - more information is available in the How to: Bind to a BusinessObject help article.

Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Susan
Top achievements
Rank 1
answered on 26 Jul 2011, 04:55 AM
It would certainly be nice to either support DbContext or to support ObjectContext.ObjectStateManager.GetObjectStateEntries so we can get in memory data including inserts but not deletes...
0
Unknown
Top achievements
Rank 1
answered on 29 Jul 2013, 08:31 AM
DbContext is supported now, which is very good news since using ObjectContext generator is not always an option and that eliminates the need for workarounds.
Tags
General Discussions
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Susan
Top achievements
Rank 1
Unknown
Top achievements
Rank 1
Share this question
or