/// <summary> /// Create a new Lexicon object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="value">Initial value of the Value property.</param> public static Lexicon CreateLexicon(global::System.Int32 id, global::System.String value) { Lexicon lexicon = new Lexicon(); lexicon.Id = id; lexicon.Value = value; return lexicon; }
/// <summary> /// Deprecated Method for adding a new object to the Lexicons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLexicons(Lexicon lexicon) { base.AddObject("Lexicons", lexicon); }