/// <summary> /// Create a new Event object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="gameID">Initial value of the GameID property.</param> /// <param name="facebookID">Initial value of the FacebookID property.</param> public static Event CreateEvent(global::System.Int32 id, global::System.Int32 gameID, global::System.Int64 facebookID) { Event @event = new Event(); @event.ID = id; @event.GameID = gameID; @event.FacebookID = facebookID; return @event; }
/// <summary> /// Deprecated Method for adding a new object to the Events EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEvents(Event @event) { base.AddObject("Events", @event); }