/// <summary> /// Create a new AccountPrefs object. /// </summary> /// <param name="accountID">Initial value of the AccountID property.</param> /// <param name="cacheSize">Initial value of the CacheSize property.</param> /// <param name="searchResultsPageSize">Initial value of the SearchResultsPageSize property.</param> /// <param name="fullScreenMode">Initial value of the FullScreenMode property.</param> public static AccountPrefs CreateAccountPrefs(global::System.Int32 accountID, global::System.Int32 cacheSize, global::System.Int32 searchResultsPageSize, global::System.String fullScreenMode) { AccountPrefs accountPrefs = new AccountPrefs(); accountPrefs.AccountID = accountID; accountPrefs.CacheSize = cacheSize; accountPrefs.SearchResultsPageSize = searchResultsPageSize; accountPrefs.FullScreenMode = fullScreenMode; return accountPrefs; }
/// <summary> /// Deprecated Method for adding a new object to the AccountPrefsSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccountPrefsSet(AccountPrefs accountPrefs) { base.AddObject("AccountPrefsSet", accountPrefs); }