/// <summary>
 /// Deprecated Method for adding a new object to the PlaceViews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPlaceViews(PlaceView placeView)
 {
     base.AddObject("PlaceViews", placeView);
 }
 /// <summary>
 /// Create a new PlaceView object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="location">Initial value of the Location property.</param>
 /// <param name="region">Initial value of the Region property.</param>
 /// <param name="territoryId">Initial value of the TerritoryId property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static PlaceView CreatePlaceView(global::System.Int32 id, global::System.String name, global::System.String location, global::System.String region, global::System.Int32 territoryId, global::System.Boolean isActive)
 {
     PlaceView placeView = new PlaceView();
     placeView.Id = id;
     placeView.Name = name;
     placeView.Location = location;
     placeView.Region = region;
     placeView.TerritoryId = territoryId;
     placeView.IsActive = isActive;
     return placeView;
 }