/// <summary>
 /// Deprecated Method for adding a new object to the Regions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegions(Region region)
 {
     base.AddObject("Regions", region);
 }
 /// <summary>
 /// Create a new Region object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="gbcode">Initial value of the Gbcode property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="class">Initial value of the Class property.</param>
 public static Region CreateRegion(global::System.Guid id, global::System.Int32 gbcode, global::System.String name, global::System.Int32 @class)
 {
     Region region = new Region();
     region.Id = id;
     region.Gbcode = gbcode;
     region.Name = name;
     region.Class = @class;
     return region;
 }