/// <summary> /// Deprecated Method for adding a new object to the PersonEventFlags EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPersonEventFlags(PersonEventFlag personEventFlag) { base.AddObject("PersonEventFlags", personEventFlag); }
/// <summary> /// Create a new PersonEventFlag object. /// </summary> /// <param name="personEventFlagID">Initial value of the PersonEventFlagID property.</param> /// <param name="personID">Initial value of the PersonID property.</param> /// <param name="eventFlagID">Initial value of the EventFlagID property.</param> public static PersonEventFlag CreatePersonEventFlag(global::System.Int32 personEventFlagID, global::System.Int32 personID, global::System.Int32 eventFlagID) { PersonEventFlag personEventFlag = new PersonEventFlag(); personEventFlag.PersonEventFlagID = personEventFlagID; personEventFlag.PersonID = personID; personEventFlag.EventFlagID = eventFlagID; return personEventFlag; }