Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Specials EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSpecials(Special special)
 {
     base.AddObject("Specials", special);
 }
Example #2
0
 /// <summary>
 /// Create a new Special object.
 /// </summary>
 /// <param name="siteId">Initial value of the SiteId property.</param>
 /// <param name="contId">Initial value of the ContId property.</param>
 /// <param name="specId">Initial value of the SpecId property.</param>
 public static Special CreateSpecial(global::System.Int32 siteId, global::System.Int32 contId, global::System.Int32 specId)
 {
     Special special = new Special();
     special.SiteId = siteId;
     special.ContId = contId;
     special.SpecId = specId;
     return special;
 }