Esempio n. 1
0
 /// <summary>
 /// Create a new Messages object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="username_Orig">Initial value of the Username_Orig property.</param>
 /// <param name="username_Dest">Initial value of the Username_Dest property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="message">Initial value of the Message property.</param>
 public static Messages CreateMessages(global::System.Int32 id, global::System.String username_Orig, global::System.String username_Dest, global::System.DateTime date, global::System.String message)
 {
     Messages messages = new Messages();
     messages.Id = id;
     messages.Username_Orig = username_Orig;
     messages.Username_Dest = username_Dest;
     messages.Date = date;
     messages.Message = message;
     return messages;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MessagesSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMessagesSet(Messages messages)
 {
     base.AddObject("MessagesSet", messages);
 }