/// <summary> /// Deprecated Method for adding a new object to the Gift EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGift(Gift gift) { base.AddObject("Gift", gift); }
/// <summary> /// Create a new Gift object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="relationshipId">Initial value of the RelationshipId property.</param> public static Gift CreateGift(global::System.Guid id, global::System.Guid relationshipId) { Gift gift = new Gift(); gift.Id = id; gift.RelationshipId = relationshipId; return gift; }