Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GiftTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGiftTypes(GiftType giftType)
 {
     base.AddObject("GiftTypes", giftType);
 }
Example #2
0
 /// <summary>
 /// Create a new GiftType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static GiftType CreateGiftType(global::System.Int32 id)
 {
     GiftType giftType = new GiftType();
     giftType.Id = id;
     return giftType;
 }