/// <summary>
 /// Create a new County object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="countyName">Initial value of the CountyName property.</param>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 public static County CreateCounty(global::System.Int32 id, global::System.String countyName, global::System.Int32 regionId)
 {
     County county = new County();
     county.Id = id;
     county.CountyName = countyName;
     county.RegionId = regionId;
     return county;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Counties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCounties(County county)
 {
     base.AddObject("Counties", county);
 }