Exemplo n.º 1
0
 /// <summary>
 /// Create a new Advertisement object.
 /// </summary>
 /// <param name="identifier">Initial value of the Identifier property.</param>
 public static Advertisement CreateAdvertisement(global::System.Int32 identifier)
 {
     Advertisement advertisement = new Advertisement();
     advertisement.Identifier = identifier;
     return advertisement;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Advertisements EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAdvertisements(Advertisement advertisement)
 {
     base.AddObject("Advertisements", advertisement);
 }