/// <summary>
 /// Deprecated Method for adding a new object to the RegionMaps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegionMaps(RegionMap regionMap)
 {
     base.AddObject("RegionMaps", regionMap);
 }
 private bool FilterRegionMap(RegionMap entity)
 {
     return (entity.RegionMapID == this.RegionMapID);
 }
 /// <summary>
 /// Create a new RegionMap object.
 /// </summary>
 /// <param name="regionMapID">Initial value of the RegionMapID property.</param>
 /// <param name="permissionCode">Initial value of the PermissionCode property.</param>
 public static RegionMap CreateRegionMap(global::System.Int32 regionMapID, global::System.Int32 permissionCode)
 {
     RegionMap regionMap = new RegionMap();
     regionMap.RegionMapID = regionMapID;
     regionMap.PermissionCode = permissionCode;
     return regionMap;
 }