/// <summary> /// Deprecated Method for adding a new object to the Words EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWords(Word word) { base.AddObject("Words", word); }
/// <summary> /// Create a new Word object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="languageId">Initial value of the LanguageId property.</param> public static Word CreateWord(global::System.Int32 id, global::System.Int32 languageId) { Word word = new Word(); word.Id = id; word.LanguageId = languageId; return word; }