Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InstantMessages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInstantMessages(InstantMessage instantMessage)
 {
     base.AddObject("InstantMessages", instantMessage);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new InstantMessage object.
 /// </summary>
 /// <param name="instantMessageID">Initial value of the InstantMessageID property.</param>
 public static InstantMessage CreateInstantMessage(global::System.Int64 instantMessageID)
 {
     InstantMessage instantMessage = new InstantMessage();
     instantMessage.InstantMessageID = instantMessageID;
     return instantMessage;
 }