/// <summary> /// Create a new TrainingSessionAttendee object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="trainingSessionAttendee_Employee">Initial value of the TrainingSessionAttendee_Employee property.</param> /// <param name="trainingSessionAttendee_TrainingSession">Initial value of the TrainingSessionAttendee_TrainingSession property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static TrainingSessionAttendee CreateTrainingSessionAttendee(global::System.Int32 id, global::System.Int32 trainingSessionAttendee_Employee, global::System.Int32 trainingSessionAttendee_TrainingSession, global::System.Byte[] rowVersion) { TrainingSessionAttendee trainingSessionAttendee = new TrainingSessionAttendee(); trainingSessionAttendee.Id = id; trainingSessionAttendee.TrainingSessionAttendee_Employee = trainingSessionAttendee_Employee; trainingSessionAttendee.TrainingSessionAttendee_TrainingSession = trainingSessionAttendee_TrainingSession; trainingSessionAttendee.RowVersion = rowVersion; return trainingSessionAttendee; }
/// <summary> /// Deprecated Method for adding a new object to the TrainingSessionAttendees EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTrainingSessionAttendees(TrainingSessionAttendee trainingSessionAttendee) { base.AddObject("TrainingSessionAttendees", trainingSessionAttendee); }