/// <summary>
 /// Deprecated Method for adding a new object to the Territories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTerritories(Territory territory)
 {
     base.AddObject("Territories", territory);
 }
 /// <summary>
 /// Create a new Territory object.
 /// </summary>
 /// <param name="territoryID">Initial value of the TerritoryID property.</param>
 /// <param name="territoryDescription">Initial value of the TerritoryDescription property.</param>
 /// <param name="regionID">Initial value of the RegionID property.</param>
 public static Territory CreateTerritory(global::System.String territoryID, global::System.String territoryDescription, global::System.Int32 regionID)
 {
     Territory territory = new Territory();
     territory.TerritoryID = territoryID;
     territory.TerritoryDescription = territoryDescription;
     territory.RegionID = regionID;
     return territory;
 }