/// <summary> /// Create a new UserAction object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="actionName">Initial value of the ActionName property.</param> /// <param name="sectionName">Initial value of the SectionName property.</param> /// <param name="sectionId">Initial value of the SectionId property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> public static UserAction CreateUserAction(global::System.Int32 id, global::System.Int32 userId, global::System.String actionName, global::System.String sectionName, global::System.Int32 sectionId, global::System.DateTime dateTimeStamp) { UserAction userAction = new UserAction(); userAction.Id = id; userAction.UserId = userId; userAction.ActionName = actionName; userAction.SectionName = sectionName; userAction.SectionId = sectionId; userAction.DateTimeStamp = dateTimeStamp; return userAction; }
/// <summary> /// Deprecated Method for adding a new object to the UserActions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserActions(UserAction userAction) { base.AddObject("UserActions", userAction); }