コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventVisibilities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventVisibilities(EventVisibility eventVisibility)
 {
     base.AddObject("EventVisibilities", eventVisibility);
 }
コード例 #2
0
 /// <summary>
 /// Create a new EventVisibility object.
 /// </summary>
 /// <param name="eventVisibilityId">Initial value of the EventVisibilityId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 public static EventVisibility CreateEventVisibility(global::System.Int32 eventVisibilityId, global::System.String name, global::System.DateTime created)
 {
     EventVisibility eventVisibility = new EventVisibility();
     eventVisibility.EventVisibilityId = eventVisibilityId;
     eventVisibility.Name = name;
     eventVisibility.Created = created;
     return eventVisibility;
 }