/// <summary> /// Create a new Report object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="reportName">Initial value of the ReportName property.</param> /// <param name="header">Initial value of the Header property.</param> /// <param name="headerRow">Initial value of the HeaderRow property.</param> /// <param name="resultRow">Initial value of the ResultRow property.</param> public static Report CreateReport(global::System.Int32 id, global::System.String reportName, global::System.Boolean header, global::System.Int32 headerRow, global::System.Int32 resultRow) { Report report = new Report(); report.Id = id; report.ReportName = reportName; report.Header = header; report.HeaderRow = headerRow; report.ResultRow = resultRow; return report; }
/// <summary> /// Deprecated Method for adding a new object to the Reports EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReports(Report report) { base.AddObject("Reports", report); }