/// <summary> /// Create a new Instructor object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="fio">Initial value of the Fio property.</param> /// <param name="eMail">Initial value of the EMail property.</param> public static Instructor CreateInstructor(global::System.Int32 id, global::System.String fio, global::System.String eMail) { Instructor instructor = new Instructor(); instructor.Id = id; instructor.Fio = fio; instructor.EMail = eMail; return instructor; }
/// <summary> /// Deprecated Method for adding a new object to the Instructors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInstructors(Instructor instructor) { base.AddObject("Instructors", instructor); }