Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Mentions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMentions(Mention mention)
 {
     base.AddObject("Mentions", mention);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Mention object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="classID">Initial value of the ClassID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="isRemove">Initial value of the IsRemove property.</param>
 public static Mention CreateMention(global::System.Int32 id, global::System.Int32 classID, global::System.String userID, global::System.Boolean isRemove)
 {
     Mention mention = new Mention();
     mention.ID = id;
     mention.ClassID = classID;
     mention.UserID = userID;
     mention.IsRemove = isRemove;
     return mention;
 }