Пример #1
0
 /// <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(Territories territories)
 {
     base.AddObject("Territories", territories);
 }
Пример #2
0
 /// <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;
 }