/// <summary> /// Deprecated Method for adding a new object to the WorkPerformances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWorkPerformances(WorkPerformance workPerformance) { base.AddObject("WorkPerformances", workPerformance); }
/// <summary> /// Create a new WorkPerformance object. /// </summary> /// <param name="workPerformanceID">Initial value of the WorkPerformanceID property.</param> public static WorkPerformance CreateWorkPerformance(global::System.Int32 workPerformanceID) { WorkPerformance workPerformance = new WorkPerformance(); workPerformance.WorkPerformanceID = workPerformanceID; return workPerformance; }