/// <summary> /// Deprecated Method for adding a new object to the EventOptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventOptions(EventOption eventOption) { base.AddObject("EventOptions", eventOption); }
public EventOptionModel(EventOption option) { _eventOption = option; }
/// <summary> /// Create a new EventOption object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="description">Initial value of the Description property.</param> public static EventOption CreateEventOption(global::System.Guid id, global::System.String name, global::System.String description) { EventOption eventOption = new EventOption(); eventOption.ID = id; eventOption.Name = name; eventOption.Description = description; return eventOption; }