예제 #1
0
 /// <summary>
 /// Create a new Speaker object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="bio">Initial value of the Bio property.</param>
 /// <param name="photoUrl">Initial value of the PhotoUrl property.</param>
 /// <param name="agenda_Id">Initial value of the Agenda_Id property.</param>
 public static Speaker CreateSpeaker(global::System.Int32 id, global::System.String name, global::System.String bio, global::System.String photoUrl, global::System.Int32 agenda_Id)
 {
     Speaker speaker = new Speaker();
     speaker.Id = id;
     speaker.Name = name;
     speaker.Bio = bio;
     speaker.PhotoUrl = photoUrl;
     speaker.Agenda_Id = agenda_Id;
     return speaker;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Speakers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSpeakers(Speaker speaker)
 {
     base.AddObject("Speakers", speaker);
 }