Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WorkshopDailyActivity EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWorkshopDailyActivity(WorkshopDailyActivity workshopDailyActivity)
 {
     base.AddObject("WorkshopDailyActivity", workshopDailyActivity);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new WorkshopDailyActivity object.
 /// </summary>
 /// <param name="activityId">Initial value of the ActivityId property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="forklift">Initial value of the Forklift property.</param>
 /// <param name="torque">Initial value of the Torque property.</param>
 /// <param name="pressureTest">Initial value of the PressureTest property.</param>
 /// <param name="createdAt">Initial value of the CreatedAt property.</param>
 public static WorkshopDailyActivity CreateWorkshopDailyActivity(global::System.Int32 activityId, global::System.String description, global::System.Int32 forklift, global::System.Int32 torque, global::System.Int32 pressureTest, global::System.DateTime createdAt)
 {
     WorkshopDailyActivity workshopDailyActivity = new WorkshopDailyActivity();
     workshopDailyActivity.ActivityId = activityId;
     workshopDailyActivity.Description = description;
     workshopDailyActivity.Forklift = forklift;
     workshopDailyActivity.Torque = torque;
     workshopDailyActivity.PressureTest = pressureTest;
     workshopDailyActivity.CreatedAt = createdAt;
     return workshopDailyActivity;
 }