Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Words EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWords(Word word)
 {
     base.AddObject("Words", word);
 }
Exemplo n.º 2
0
 /// <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;
 }