/// <summary> /// Deprecated Method for adding a new object to the Freebies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFreebies(Freebie freebie) { base.AddObject("Freebies", freebie); }
/// <summary> /// Create a new Freebie object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="profile">Initial value of the Profile property.</param> public static Freebie CreateFreebie(global::System.Int64 id, global::System.String profile) { Freebie freebie = new Freebie(); freebie.Id = id; freebie.Profile = profile; return freebie; }