Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Gifts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGifts(Gift gift)
 {
     base.AddObject("Gifts", gift);
 }
Example #2
0
 /// <summary>
 /// Create a new Gift object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="giftNumber">Initial value of the GiftNumber property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 public static Gift CreateGift(global::System.Int32 id, global::System.Byte[] giftNumber, global::System.Double value)
 {
     Gift gift = new Gift();
     gift.ID = id;
     gift.GiftNumber = giftNumber;
     gift.Value = value;
     return gift;
 }