/// <summary> /// Deprecated Method for adding a new object to the HeadReports EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHeadReports(HeadReport headReport) { base.AddObject("HeadReports", headReport); }
/// <summary> /// Create a new HeadReport object. /// </summary> /// <param name="headReportsId">Initial value of the HeadReportsId property.</param> /// <param name="gain">Initial value of the Gain property.</param> /// <param name="loss">Initial value of the Loss property.</param> /// <param name="laboraratoryId">Initial value of the LaboraratoryId property.</param> /// <param name="yearArchived">Initial value of the YearArchived property.</param> /// <param name="totalGain">Initial value of the TotalGain property.</param> public static HeadReport CreateHeadReport(global::System.Int32 headReportsId, global::System.String gain, global::System.String loss, global::System.Int32 laboraratoryId, global::System.Int32 yearArchived, global::System.String totalGain) { HeadReport headReport = new HeadReport(); headReport.HeadReportsId = headReportsId; headReport.Gain = gain; headReport.Loss = loss; headReport.LaboraratoryId = laboraratoryId; headReport.YearArchived = yearArchived; headReport.TotalGain = totalGain; return headReport; }