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

ef5.0 DBset

6 Answers 224 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jun
Top achievements
Rank 1
Jun asked on 15 Oct 2013, 12:09 PM

Hello.
Do you have a plan to support ef5.0 Dbset in reporting Q3 2013?
If so, when are you going to support it?


I don't want this link : http://blogs.telerik.com/careypayette/posts/13-07-30/try-out-new-entity-framework-support-in-telerik-reporting-and-earn-rewards and openacess.

6 Answers, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 18 Oct 2013, 10:40 AM
Hello Jun,

DbSet is supported prior to Q3 2013, so you can actually use an older version if you need to. Please also note that Q3 2013 is now officially released. If you have any other issues please do not hesitate to ask.

Regards,
IvanY
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Jun
Top achievements
Rank 1
answered on 19 Oct 2013, 02:38 PM
Error : An error has occurred while processing Report 'Report1': An error occurred while invoking data retrieval method. Try restarting Visual Studio. ------------- InnerException ------------- A connection string has been provided but constructor with connection string argument could not be found. Either remove the connection string from the data source or provide a constructor which will use that connection string. For design time purposes a constructor that has a connection string argument and passes it to the base constructor is required.

It's Same Message.( q2 2013 Reporting )

 
0
IvanY
Telerik team
answered on 21 Oct 2013, 02:43 PM
Hi Jun,

By default the DbContext is created only with a single, parameterless constructor. As the exception message says you will have to either remove the connection string from the data source (you can just go in the designer.cs file, find the connection string and delete the whole line) or to provide a second constructor. For the latter to work you will have to create a constructor with a string argument and pass that string to the base constructor. For more information please check the first note in this help article.

Regards,
IvanY
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
brian
Top achievements
Rank 1
answered on 23 Oct 2013, 03:00 PM
Why does this happen on every EF setup?   Is there a way to automate this?   No matter what I do I cannot get rid of the error.

I deleted one line from designer.cs, the connectionstring line.   That didn't work.   Preview still gives this error.
0
KS
Top achievements
Rank 1
answered on 28 Oct 2013, 02:33 PM
Hi,

Add the constructor accepting string argument and try again to setup the data source component.

-KS
0
Mark
Top achievements
Rank 1
answered on 01 Mar 2015, 12:31 AM
look for    
public YourEntities()
            : base("name=YourEntities")
        {
        }
Make an additional
public YourEntities(string connString)
            : base(connString)
        {
        }
Tags
General Discussions
Asked by
Jun
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Jun
Top achievements
Rank 1
brian
Top achievements
Rank 1
KS
Top achievements
Rank 1
Mark
Top achievements
Rank 1
Share this question
or