/// <summary> /// Create a new DungeonGridEvent object. /// </summary> /// <param name="dungeonGridEventId">Initial value of the DungeonGridEventId property.</param> /// <param name="notes">Initial value of the Notes property.</param> /// <param name="dungeonMapGridId">Initial value of the DungeonMapGridId property.</param> public static DungeonGridEvent CreateDungeonGridEvent(global::System.Int32 dungeonGridEventId, global::System.String notes, global::System.Int64 dungeonMapGridId) { DungeonGridEvent dungeonGridEvent = new DungeonGridEvent(); dungeonGridEvent.DungeonGridEventId = dungeonGridEventId; dungeonGridEvent.Notes = notes; dungeonGridEvent.DungeonMapGridId = dungeonMapGridId; return dungeonGridEvent; }
/// <summary> /// Deprecated Method for adding a new object to the DungeonGridEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDungeonGridEvents(DungeonGridEvent dungeonGridEvent) { base.AddObject("DungeonGridEvents", dungeonGridEvent); }