Linq and Data Source Object RRS feed

  • Question

  • I have class, which will be a Data Source object in my project
     (Report - Menu File->New->Project->Visual C#->Reporting-> ReportsApplication [VS2008]).
    I added -> new Item -> 'Linq to SQL' and droped tables on LinqToSQL Designer. And my question is:
    How to deliver this data to my class (Data Source Object)?
    Or how to make Report with using Linq?

    Monday, May 18, 2009 12:10 PM

All replies

  • The report will map to specific DataSource(s) which you will generate. Within those datasources will be a individual class which exposes public properties/methods which will extract the target data and return the information/lists back.

    This process is not a wizard process but one done more by hand. I have done it. I based my work off of this web site: Working with ReportViewer control Of ASP.NET 2.0 . It doesn't even mention Linq but where they create the object datasources is where you insert the linq code into the classes.

    William Wegerson (www.OmegaCoder.Com)
    Monday, May 18, 2009 5:59 PM