示例#1
0
 /// <summary>
 /// Create a new Report object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="reportYear">Initial value of the ReportYear property.</param>
 public static Report CreateReport(global::System.Guid id, global::System.String reportYear)
 {
     Report report = new Report();
     report.Id = id;
     report.ReportYear = reportYear;
     return report;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Report EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReport(Report report)
 {
     base.AddObject("Report", report);
 }