/// <summary> /// Create a new Territories 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 Territories CreateTerritories(global::System.String territoryID, global::System.String territoryDescription, global::System.Int32 regionID) { Territories territories = new Territories(); territories.TerritoryID = territoryID; territories.TerritoryDescription = territoryDescription; territories.RegionID = regionID; return territories; }
/// <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); }