예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventOptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventOptions(EventOption eventOption)
 {
     base.AddObject("EventOptions", eventOption);
 }
예제 #2
0
 public EventOptionModel(EventOption option)
 {
     _eventOption = option;
 }
예제 #3
0
 /// <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;
 }