Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ref_teacher_department EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToref_teacher_department(ref_teacher_department ref_teacher_department)
 {
     base.AddObject("ref_teacher_department", ref_teacher_department);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new ref_teacher_department object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="departmentId">Initial value of the DepartmentId property.</param>
 /// <param name="teacherId">Initial value of the TeacherId property.</param>
 public static ref_teacher_department Createref_teacher_department(global::System.Int64 id, global::System.Int64 departmentId, global::System.Int64 teacherId)
 {
     ref_teacher_department ref_teacher_department = new ref_teacher_department();
     ref_teacher_department.Id = id;
     ref_teacher_department.DepartmentId = departmentId;
     ref_teacher_department.TeacherId = teacherId;
     return ref_teacher_department;
 }