/// <summary> /// Create a new BenchmarkHistory object. /// </summary> /// <param name="benchmarkHistoryID">Initial value of the BenchmarkHistoryID property.</param> /// <param name="acceptedElevationUnitID">Initial value of the AcceptedElevationUnitID property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> public static BenchmarkHistory CreateBenchmarkHistory(global::System.Decimal benchmarkHistoryID, global::System.String acceptedElevationUnitID, global::System.DateTime startDate) { BenchmarkHistory benchmarkHistory = new BenchmarkHistory(); benchmarkHistory.BenchmarkHistoryID = benchmarkHistoryID; benchmarkHistory.AcceptedElevationUnitID = acceptedElevationUnitID; benchmarkHistory.StartDate = startDate; return benchmarkHistory; }
/// <summary> /// Deprecated Method for adding a new object to the BenchmarkHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBenchmarkHistories(BenchmarkHistory benchmarkHistory) { base.AddObject("BenchmarkHistories", benchmarkHistory); }