Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BenchmarkHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBenchmarkHistories(BenchmarkHistory benchmarkHistory)
 {
     base.AddObject("BenchmarkHistories", benchmarkHistory);
 }