title: How to create an RDL using the report class generated from the RDL schema
body: <p>I have a project where we are creating a custom report generator for SSRS 2008R2. This project allows the user to select fields from a database and then create and store the RDL on the report server. 
  For some of the initial proof of concept attempts we have been using XMLText writer to generate the XML file. While this works this seems to be very cumbersome and I don't have a lot of confidence in how the schema is being generated as being 100% bulletproof. A second attempt is actually using the generated class from the RDL as my object model. Where I am stuck here is there is almost zero documentation on how to use this object. <a href="http://msdn.microsoft.com/en-us/library/aa337451%28v=sql.105%29.aspx" rel="nofollow">MSDN has a tutorial</a> on updating the model but it very basic in concept. </p>
  
  <p>I'm looking for some guidance on the preferred approach. 
  1) continue with the XML generation 
  2) use the RDL object to create the reports 
  3) I have also considered using the SSRS endpoint where a dummy report is created and stored on the server then using the RDL object model to update the report with the necessary fields, groups etc. </p>
  
  <p>I haven't tested the third option but it seems as this would minimize the amount of coding for the creation of the document. </p>
  
  <p>Thanks for any suggestions or ideas</p>