/// <summary> /// Create a new AccountView object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> public static AccountView CreateAccountView(global::System.Int32 id, global::System.String name) { AccountView accountView = new AccountView(); accountView.id = id; accountView.name = name; return accountView; }
/// <summary> /// Deprecated Method for adding a new object to the AccountViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccountViews(AccountView accountView) { base.AddObject("AccountViews", accountView); }