/// <summary>
 /// Deprecated Method for adding a new object to the Preferences EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPreferences(Preference preference)
 {
     base.AddObject("Preferences", preference);
 }
 /// <summary>
 /// Create a new Preference object.
 /// </summary>
 /// <param name="default_currency">Initial value of the default_currency property.</param>
 public static Preference CreatePreference(global::System.Int64 default_currency)
 {
     Preference preference = new Preference();
     preference.default_currency = default_currency;
     return preference;
 }