Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Session object.
 /// </summary>
 /// <param name="sessionID">Initial value of the SessionID property.</param>
 /// <param name="speakerID">Initial value of the SpeakerID property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="approved">Initial value of the Approved property.</param>
 public static Session CreateSession(global::System.Guid sessionID, global::System.Guid speakerID, global::System.String title, global::System.Boolean approved)
 {
     Session session = new Session();
     session.SessionID = sessionID;
     session.SpeakerID = speakerID;
     session.Title = title;
     session.Approved = approved;
     return session;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sessions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSessions(Session session)
 {
     base.AddObject("Sessions", session);
 }