/// <summary> /// Deprecated Method for adding a new object to the EventTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventTypes(EventType eventType) { base.AddObject("EventTypes", eventType); }
private bool FilterEventType(EventType entity) { return (entity.EventTypeID == this.EventTypeID); }
/// <summary> /// Create a new EventType object. /// </summary> /// <param name="eventTypeID">Initial value of the EventTypeID property.</param> /// <param name="eventTypeName">Initial value of the EventTypeName property.</param> public static EventType CreateEventType(global::System.Int32 eventTypeID, global::System.String eventTypeName) { EventType eventType = new EventType(); eventType.EventTypeID = eventTypeID; eventType.EventTypeName = eventTypeName; return eventType; }