/// <summary>
        /// Create a new UserOptionValue object.
        /// </summary>
        /// <param name="valueId">Initial value of the ValueId property.</param>
        public static UserOptionValue CreateUserOptionValue(global::System.Int32 valueId)
        {
            UserOptionValue userOptionValue = new UserOptionValue();

            userOptionValue.ValueId = valueId;
            return(userOptionValue);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the UserOptionValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserOptionValues(UserOptionValue userOptionValue)
 {
     base.AddObject("UserOptionValues", userOptionValue);
 }