Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Speaker object.
 /// </summary>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="speakerID">Initial value of the SpeakerID property.</param>
 public static Speaker CreateSpeaker(global::System.String firstName, global::System.String lastName, global::System.Guid speakerID)
 {
     Speaker speaker = new Speaker();
     speaker.FirstName = firstName;
     speaker.LastName = lastName;
     speaker.SpeakerID = speakerID;
     return speaker;
 }
Ejemplo n.º 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);
 }