public static RomDto ToDto(this Rom entity, bool includeFileInformation = false)
        {
            if (entity == null)
            {
                return(null);
            }

            var dto = new RomDto
            {
                RomId        = entity.RomId,
                Name         = entity.Name,
                Title        = entity.Title,
                CloneOf      = entity.CloneOf,
                Year         = entity.Year,
                Manufacturer = entity.Manufacturer,
                Category     = entity.Category,
                Players      = entity.Players,
                Rotation     = entity.Rotation,
                Control      = entity.Control,
                Status       = entity.Status,
                DisplayCount = entity.DisplayCount,
                DisplayType  = entity.DisplayType,
                AltRomname   = entity.AltRomname,
                AltTitle     = entity.AltTitle,
                Extra        = entity.Extra,
                Buttons      = entity.Buttons,
                Description  = entity.Description,
                ModifiedDate = entity.ModifiedDate,

                EmulatorId      = entity.EmulatorId,
                RomListId       = entity.RomListId,
                Emulator        = entity.Emulator,
                EmulatorNameOrg = entity.EmulatorNameOrg,
                RomListRoms     = entity.RomListRoms.ToList()
            };

            entity.OnDto(dto);
            return(dto);
        }