/// <summary>
 /// Create a new AutocompleteValue object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="territoryId">Initial value of the TerritoryId property.</param>
 public static AutocompleteValue CreateAutocompleteValue(global::System.Int32 id, global::System.String type, global::System.Int32 territoryId)
 {
     AutocompleteValue autocompleteValue = new AutocompleteValue();
     autocompleteValue.Id = id;
     autocompleteValue.Type = type;
     autocompleteValue.TerritoryId = territoryId;
     return autocompleteValue;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the AutocompleteValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAutocompleteValues(AutocompleteValue autocompleteValue)
 {
     base.AddObject("AutocompleteValues", autocompleteValue);
 }