コード例 #1
0
 /// <summary>
 /// Create a new ReportParameter object.
 /// </summary>
 /// <param name="generateFile">Initial value of the GenerateFile property.</param>
 /// <param name="reportId">Initial value of the ReportId property.</param>
 public static ReportParameter CreateReportParameter(global::System.Boolean generateFile, global::System.Guid reportId)
 {
     ReportParameter reportParameter = new ReportParameter();
     reportParameter.GenerateFile = generateFile;
     reportParameter.ReportId = reportId;
     return reportParameter;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ReportParameters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReportParameters(ReportParameter reportParameter)
 {
     base.AddObject("ReportParameters", reportParameter);
 }