Esempio n. 1
0
 /// <summary>
 /// Create a new Messages object.
 /// </summary>
 /// <param name="iD_Message">Initial value of the ID_Message property.</param>
 /// <param name="iD_Thread">Initial value of the ID_Thread property.</param>
 /// <param name="from">Initial value of the From property.</param>
 /// <param name="time">Initial value of the Time property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 /// <param name="id">Initial value of the ID property.</param>
 public static Messages CreateMessages(global::System.String iD_Message, global::System.String iD_Thread, global::System.String from, global::System.String time, global::System.String text, global::System.Int64 id)
 {
     Messages messages = new Messages();
     messages.ID_Message = iD_Message;
     messages.ID_Thread = iD_Thread;
     messages.From = from;
     messages.Time = time;
     messages.Text = text;
     messages.ID = id;
     return messages;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Messages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMessages(Messages messages)
 {
     base.AddObject("Messages", messages);
 }