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