Make a report by feeding sql query to it in mvc approach

DbContext class is the one among others that the Entity Framework team has created, in order to facilitate developers when accessing and manipulating database data. I used code first apprach in a mvc project. I want to make a report using fast report which a query sql feed to it.
How can I make the report?
Is there a full project that sql query not xml feed to it?

Comments

  • edited 5:15PM
    there is a demo for MVC, take a look at it. Entity framework actually is a business object.

    List<Model> bo = ...dbContext.ToList();
    webreport.RegisterData(bo , "MainReport");
  • ipong wrote: »
    there is a demo for MVC, take a look at it. Entity framework actually is a business object.

    List<Model> bo = ...dbContext.ToList();
    webreport.RegisterData(bo , "MainReport");
    Can you you explain in more detail?
    I prefer to have a sample project.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.