/// <summary> /// Create a new UserEventType object. /// </summary> /// <param name="userEventTypeId">Initial value of the UserEventTypeId property.</param> /// <param name="userEventName">Initial value of the UserEventName property.</param> public static UserEventType CreateUserEventType(global::System.Int32 userEventTypeId, global::System.String userEventName) { UserEventType userEventType = new UserEventType(); userEventType.UserEventTypeId = userEventTypeId; userEventType.UserEventName = userEventName; return userEventType; }
/// <summary> /// Deprecated Method for adding a new object to the UserEventTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserEventTypes(UserEventType userEventType) { base.AddObject("UserEventTypes", userEventType); }