public DungeonMapJson(DungeonMap location)
 {
     this.GridId = location.GridId;
     this.IsDark = location.IsDark;
     this.IsTrapped = location.IsTrapped;
     this.NorthGridId = location.NorthGridId;
     this.SouthGridId = location.SouthGridId;
     this.EastGridId = location.EastGridId;
     this.WestGridId = location.WestGridId;
     this.NorthFeature = location.NorthFeature;
     this.SouthFeature = location.SouthFeature;
     this.EastFeature = location.EastFeature;
     this.WestFeature = location.WestFeature;
 }
 /// <summary>
 /// Create a new DungeonMap object.
 /// </summary>
 /// <param name="gridId">Initial value of the GridId property.</param>
 /// <param name="isDark">Initial value of the IsDark property.</param>
 /// <param name="isTrapped">Initial value of the IsTrapped property.</param>
 /// <param name="northGridId">Initial value of the NorthGridId property.</param>
 /// <param name="southGridId">Initial value of the SouthGridId property.</param>
 /// <param name="eastGridId">Initial value of the EastGridId property.</param>
 /// <param name="westGridId">Initial value of the WestGridId property.</param>
 /// <param name="x">Initial value of the X property.</param>
 /// <param name="y">Initial value of the Y property.</param>
 public static DungeonMap CreateDungeonMap(global::System.Int64 gridId, global::System.Boolean isDark, global::System.Boolean isTrapped, global::System.Int64 northGridId, global::System.Int64 southGridId, global::System.Int64 eastGridId, global::System.Int64 westGridId, global::System.Int32 x, global::System.Int32 y)
 {
     DungeonMap dungeonMap = new DungeonMap();
     dungeonMap.GridId = gridId;
     dungeonMap.IsDark = isDark;
     dungeonMap.IsTrapped = isTrapped;
     dungeonMap.NorthGridId = northGridId;
     dungeonMap.SouthGridId = southGridId;
     dungeonMap.EastGridId = eastGridId;
     dungeonMap.WestGridId = westGridId;
     dungeonMap.X = x;
     dungeonMap.Y = y;
     return dungeonMap;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DungeonMaps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDungeonMaps(DungeonMap dungeonMap)
 {
     base.AddObject("DungeonMaps", dungeonMap);
 }