/// <summary> /// Deprecated Method for adding a new object to the EventNoteTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventNoteTypes(EventNoteType eventNoteType) { base.AddObject("EventNoteTypes", eventNoteType); }
/// <summary> /// Create a new EventNoteType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="type">Initial value of the Type property.</param> public static EventNoteType CreateEventNoteType(global::System.Guid id, global::System.String type) { EventNoteType eventNoteType = new EventNoteType(); eventNoteType.ID = id; eventNoteType.Type = type; return eventNoteType; }