コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TypeSessions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTypeSessions(TypeSession typeSession)
 {
     base.AddObject("TypeSessions", typeSession);
 }
コード例 #2
0
 /// <summary>
 /// Create a new TypeSession object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="nom">Initial value of the Nom property.</param>
 public static TypeSession CreateTypeSession(global::System.Int32 id, global::System.String nom)
 {
     TypeSession typeSession = new TypeSession();
     typeSession.Id = id;
     typeSession.Nom = nom;
     return typeSession;
 }