/// <summary> /// Create a new BranchSubjectAssignment object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="branchID">Initial value of the BranchID property.</param> /// <param name="subjectID">Initial value of the SubjectID property.</param> /// <param name="level">Initial value of the Level property.</param> public static BranchSubjectAssignment CreateBranchSubjectAssignment(global::System.Int32 id, global::System.Int32 branchID, global::System.Int32 subjectID, global::System.Int32 level) { BranchSubjectAssignment branchSubjectAssignment = new BranchSubjectAssignment(); branchSubjectAssignment.ID = id; branchSubjectAssignment.BranchID = branchID; branchSubjectAssignment.SubjectID = subjectID; branchSubjectAssignment.Level = level; return branchSubjectAssignment; }
/// <summary> /// Deprecated Method for adding a new object to the BranchSubjectAssignments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBranchSubjectAssignments(BranchSubjectAssignment branchSubjectAssignment) { base.AddObject("BranchSubjectAssignments", branchSubjectAssignment); }