/// <summary> /// Create a new BindingSubjectAssignment object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="pupilID">Initial value of the PupilID property.</param> /// <param name="subjectID">Initial value of the SubjectID property.</param> public static BindingSubjectAssignment CreateBindingSubjectAssignment(global::System.Int32 id, global::System.Int32 pupilID, global::System.Int32 subjectID) { BindingSubjectAssignment bindingSubjectAssignment = new BindingSubjectAssignment(); bindingSubjectAssignment.ID = id; bindingSubjectAssignment.PupilID = pupilID; bindingSubjectAssignment.SubjectID = subjectID; return bindingSubjectAssignment; }
/// <summary> /// Deprecated Method for adding a new object to the BindingSubjectAssignments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBindingSubjectAssignments(BindingSubjectAssignment bindingSubjectAssignment) { base.AddObject("BindingSubjectAssignments", bindingSubjectAssignment); }