/// <summary>
 /// Deprecated Method for adding a new object to the OffresReferencesTypeSessions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOffresReferencesTypeSessions(OffresReferencesTypeSession offresReferencesTypeSession)
 {
     base.AddObject("OffresReferencesTypeSessions", offresReferencesTypeSession);
 }
 /// <summary>
 /// Create a new OffresReferencesTypeSession object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="offresReferencesId">Initial value of the OffresReferencesId property.</param>
 /// <param name="typeSessionId">Initial value of the TypeSessionId property.</param>
 /// <param name="nbTypeSession">Initial value of the NbTypeSession property.</param>
 public static OffresReferencesTypeSession CreateOffresReferencesTypeSession(global::System.Int32 id, global::System.Int32 offresReferencesId, global::System.Int32 typeSessionId, global::System.Int32 nbTypeSession)
 {
     OffresReferencesTypeSession offresReferencesTypeSession = new OffresReferencesTypeSession();
     offresReferencesTypeSession.Id = id;
     offresReferencesTypeSession.OffresReferencesId = offresReferencesId;
     offresReferencesTypeSession.TypeSessionId = typeSessionId;
     offresReferencesTypeSession.NbTypeSession = nbTypeSession;
     return offresReferencesTypeSession;
 }