/// <summary> /// Create a new Report object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="started">Initial value of the Started property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="reportTypeId">Initial value of the ReportTypeId property.</param> /// <param name="dataIsReady">Initial value of the DataIsReady property.</param> public static Report CreateReport(global::System.Guid id, global::System.DateTime started, global::System.Int16 status, global::System.Int32 reportTypeId, global::System.Boolean dataIsReady) { Report report = new Report(); report.Id = id; report.Started = started; report.Status = status; report.ReportTypeId = reportTypeId; report.DataIsReady = dataIsReady; 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); }