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