/// <summary>
 /// 创建新的 Territory 对象。
 /// </summary>
 /// <param name="territoryID">TerritoryID 属性的初始值。</param>
 /// <param name="territoryDescription">TerritoryDescription 属性的初始值。</param>
 /// <param name="regionID">RegionID 属性的初始值。</param>
 public static Territory CreateTerritory(global::System.Int32 territoryID, global::System.String territoryDescription, global::System.Int32 regionID)
 {
     Territory territory = new Territory();
     territory.TerritoryID = territoryID;
     territory.TerritoryDescription = territoryDescription;
     territory.RegionID = regionID;
     return territory;
 }
 /// <summary>
 /// 用于向 Territories EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTerritories(Territory territory)
 {
     base.AddObject("Territories", territory);
 }