コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VoluntarySubjectAssignements EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVoluntarySubjectAssignements(VoluntarySubjectAssignement voluntarySubjectAssignement)
 {
     base.AddObject("VoluntarySubjectAssignements", voluntarySubjectAssignement);
 }
コード例 #2
0
 /// <summary>
 /// Create a new VoluntarySubjectAssignement 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 VoluntarySubjectAssignement CreateVoluntarySubjectAssignement(global::System.Int32 id, global::System.Int32 pupilID, global::System.Int32 subjectID)
 {
     VoluntarySubjectAssignement voluntarySubjectAssignement = new VoluntarySubjectAssignement();
     voluntarySubjectAssignement.ID = id;
     voluntarySubjectAssignement.PupilID = pupilID;
     voluntarySubjectAssignement.SubjectID = subjectID;
     return voluntarySubjectAssignement;
 }