/// <summary>
 /// Deprecated Method for adding a new object to the PreferenceValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPreferenceValues(PreferenceValue preferenceValue)
 {
     base.AddObject("PreferenceValues", preferenceValue);
 }
 /// <summary>
 /// Create a new PreferenceValue object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="preferenceId">Initial value of the PreferenceId property.</param>
 /// <param name="answer">Initial value of the Answer property.</param>
 public static PreferenceValue CreatePreferenceValue(global::System.Int32 id, global::System.Int32 preferenceId, global::System.String answer)
 {
     PreferenceValue preferenceValue = new PreferenceValue();
     preferenceValue.Id = id;
     preferenceValue.PreferenceId = preferenceId;
     preferenceValue.Answer = answer;
     return preferenceValue;
 }