Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Enrollments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEnrollments(Enrollment1 enrollment1)
 {
     base.AddObject("Enrollments", enrollment1);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Enrollment1 object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="enrollment_Student">Initial value of the Enrollment_Student property.</param>
 /// <param name="enrollment_Section">Initial value of the Enrollment_Section property.</param>
 public static Enrollment1 CreateEnrollment1(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Int32 enrollment_Student, global::System.Int32 enrollment_Section)
 {
     Enrollment1 enrollment1 = new Enrollment1();
     enrollment1.Id = id;
     enrollment1.RowVersion = rowVersion;
     enrollment1.Enrollment_Student = enrollment_Student;
     enrollment1.Enrollment_Section = enrollment_Section;
     return enrollment1;
 }