/// <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); }
/// <summary> /// Create a new Report object. /// </summary> /// <param name="reportId">Initial value of the ReportId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="reportDate">Initial value of the ReportDate property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="dateModified">Initial value of the DateModified property.</param> /// <param name="size">Initial value of the Size property.</param> /// <param name="fileContent">Initial value of the FileContent property.</param> /// <param name="mIMEType">Initial value of the MIMEType property.</param> /// <param name="category">Initial value of the Category property.</param> /// <param name="role">Initial value of the Role property.</param> public static Report CreateReport(global::System.Int32 reportId, global::System.String name, global::System.String reportDate, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.Int32 size, global::System.Byte[] fileContent, global::System.String mIMEType, global::System.String category, global::System.String role) { Report report = new Report(); report.ReportId = reportId; report.Name = name; report.ReportDate = reportDate; report.DateCreated = dateCreated; report.DateModified = dateModified; report.Size = size; report.FileContent = fileContent; report.MIMEType = mIMEType; report.Category = category; report.Role = role; return report; }