private bool FilterReportSet(Report entity) { return (entity.SymbolName == this.SymbolName); }
private void DetachReportSet(Report entity) { entity.Symbol = null; }
/// <summary> /// Deprecated Method for adding a new object to the ReportSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReportSet(Report report) { base.AddObject("ReportSet", report); }
private void AttachReportSet(Report entity) { entity.Symbol = this; }
/// <summary> /// Create a new Report object. /// </summary> /// <param name="reportId">Initial value of the ReportId property.</param> /// <param name="symbolName">Initial value of the SymbolName property.</param> /// <param name="reportDate">Initial value of the ReportDate property.</param> /// <param name="reportActual">Initial value of the ReportActual property.</param> /// <param name="reportExpected">Initial value of the ReportExpected property.</param> /// <param name="reportPreviousYear">Initial value of the ReportPreviousYear property.</param> /// <param name="dayPriceHigh">Initial value of the DayPriceHigh property.</param> /// <param name="reportName">Initial value of the ReportName property.</param> /// <param name="reportTitle">Initial value of the ReportTitle property.</param> public static Report CreateReport(global::System.Guid reportId, global::System.String symbolName, global::System.DateTime reportDate, global::System.Decimal reportActual, global::System.Decimal reportExpected, global::System.Decimal reportPreviousYear, global::System.Decimal dayPriceHigh, global::System.String reportName, global::System.String reportTitle) { Report report = new Report(); report.ReportId = reportId; report.SymbolName = symbolName; report.ReportDate = reportDate; report.ReportActual = reportActual; report.ReportExpected = reportExpected; report.ReportPreviousYear = reportPreviousYear; report.DayPriceHigh = dayPriceHigh; report.ReportName = reportName; report.ReportTitle = reportTitle; return report; }