Beispiel #1
0
 /// <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;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Lexicons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLexicons(Lexicon lexicon)
 {
     base.AddObject("Lexicons", lexicon);
 }