or
I've downloaded the latest (v6.2) trial version of Telerik Reporting but cannot figure out how to hook it up to my Entity Framework model.
I've added an EntityDataSource
to the designer but this requires a typeof(ObjectContext)
which I don't have.
Looking at the example code from the Telerik website it appears I might be able to cast from DbContext to ObjectContext at runtime but this does not (that I can see) enable me to build a report at design time.
Is it possible to get Telerik Reporting to work with Entity Framework 5?
public class NewReportModel
{
public string ReprotTitle { get; set; }
public List<
Product
> Products { get; set; }
public double ReportSum { get; set; }
}
public class Product
{
public string Name { get; set; }
public double Price { get; set; }
}