/// <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(Reports reports) { base.AddObject("Reports", reports); }
/// <summary> /// Create a new Reports object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="monthYear">Initial value of the MonthYear property.</param> /// <param name="billable">Initial value of the Billable property.</param> /// <param name="empName">Initial value of the EmpName property.</param> /// <param name="empTitle">Initial value of the EmpTitle property.</param> /// <param name="projectID">Initial value of the ProjectID property.</param> public static Reports CreateReports(global::System.Int32 id, global::System.DateTime monthYear, global::System.Boolean billable, global::System.String empName, global::System.String empTitle, global::System.Int32 projectID) { Reports reports = new Reports(); reports.Id = id; reports.MonthYear = monthYear; reports.Billable = billable; reports.EmpName = empName; reports.EmpTitle = empTitle; reports.ProjectID = projectID; return reports; }