CapRaffle.Domain.Model.CapRaffleContext.AddToEvents C# (CSharp) Method

AddToEvents() public method

Deprecated Method for adding a new object to the Events EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToEvents ( Event @event ) : void
@event Event
return void
        public void AddToEvents(Event @event)
        {
            base.AddObject("Events", @event);
        }