/// <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(TerritoryEntity territoryEntity) { base.AddObject("Territories", territoryEntity); }
/// <summary> /// Create a new TerritoryEntity object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static TerritoryEntity CreateTerritoryEntity(global::System.Int32 id, global::System.String description, global::System.Boolean isActive) { TerritoryEntity territoryEntity = new TerritoryEntity(); territoryEntity.Id = id; territoryEntity.Description = description; territoryEntity.IsActive = isActive; return territoryEntity; }