示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Terms EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTerms(Term term)
 {
     base.AddObject("Terms", term);
 }
示例#2
0
 /// <summary>
 /// Create a new Term object.
 /// </summary>
 /// <param name="termId">Initial value of the TermId property.</param>
 public static Term CreateTerm(global::System.Int32 termId)
 {
     Term term = new Term();
     term.TermId = termId;
     return term;
 }