/// <summary> /// Deprecated Method for adding a new object to the Mentions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMentions(Mention mention) { base.AddObject("Mentions", mention); }
/// <summary> /// Create a new Mention object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="type">Initial value of the Type property.</param> public static Mention CreateMention(global::System.Int32 id, global::System.String name, global::System.String type) { Mention mention = new Mention(); mention.Id = id; mention.Name = name; mention.Type = type; return mention; }