Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Hours EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHours(Hour hour)
 {
     base.AddObject("Hours", hour);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Hour object.
 /// </summary>
 /// <param name="hoursID">Initial value of the HoursID property.</param>
 /// <param name="assignmentID">Initial value of the AssignmentID property.</param>
 /// <param name="hoursDate">Initial value of the HoursDate property.</param>
 /// <param name="hours">Initial value of the Hours property.</param>
 /// <param name="adjHours">Initial value of the AdjHours property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 public static Hour CreateHour(global::System.Int32 hoursID, global::System.Int32 assignmentID, global::System.DateTime hoursDate, global::System.Double hours, global::System.Double adjHours, global::System.DateTime createdDate, global::System.String createdBy)
 {
     Hour hour = new Hour();
     hour.HoursID = hoursID;
     hour.AssignmentID = assignmentID;
     hour.HoursDate = hoursDate;
     hour.Hours = hours;
     hour.AdjHours = adjHours;
     hour.CreatedDate = createdDate;
     hour.CreatedBy = createdBy;
     return hour;
 }