示例#1
0
        /// <summary>
        /// Create a new GlossaryEntry object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="term">Initial value of the Term property.</param>
        public static GlossaryEntry CreateGlossaryEntry(global::System.Int32 id, global::System.String term)
        {
            GlossaryEntry glossaryEntry = new GlossaryEntry();

            glossaryEntry.Id   = id;
            glossaryEntry.Term = term;
            return(glossaryEntry);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GlossaryEntries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGlossaryEntries(GlossaryEntry glossaryEntry)
 {
     base.AddObject("GlossaryEntries", glossaryEntry);
 }
示例#3
0
 /// <summary>
 /// Create a new GlossaryEntry object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="term">Initial value of the Term property.</param>
 public static GlossaryEntry CreateGlossaryEntry(global::System.Int32 id, global::System.String term)
 {
     GlossaryEntry glossaryEntry = new GlossaryEntry();
     glossaryEntry.Id = id;
     glossaryEntry.Term = term;
     return glossaryEntry;
 }
示例#4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GlossaryEntries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGlossaryEntries(GlossaryEntry glossaryEntry)
 {
     base.AddObject("GlossaryEntries", glossaryEntry);
 }