Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Highlights EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHighlights(Highlight highlight)
 {
     base.AddObject("Highlights", highlight);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Highlight object.
 /// </summary>
 /// <param name="siteId">Initial value of the SiteId property.</param>
 /// <param name="contId">Initial value of the ContId property.</param>
 /// <param name="highId">Initial value of the HighId property.</param>
 public static Highlight CreateHighlight(global::System.Int32 siteId, global::System.Int32 contId, global::System.Int32 highId)
 {
     Highlight highlight = new Highlight();
     highlight.SiteId = siteId;
     highlight.ContId = contId;
     highlight.HighId = highId;
     return highlight;
 }