# Class U_0_1_1_UpdateDisplayConfigDriver

Namespace
  adas_core.Infrastructure.Migrations.MongoMigrations

Assembly
  adas-core.Infrastructure.dll

Represents a database migration responsible for updating the display configuration related to a driver in version 0.1.1.

    public class U_0_1_1_UpdateDisplayConfigDriver : Migration, IMigration

Inheritance
  object
  Migration
  U_0_1_1_UpdateDisplayConfigDriver

Implements
  IMigration

Inherited Members
  Migration.Database
  Migration.Version
  Migration.Description
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Remarks

Inherits from Migration to support schema or data changes associated with the 0.1.1 release.

## Constructors

### U_0_1_1_UpdateDisplayConfigDriver()

    public U_0_1_1_UpdateDisplayConfigDriver()

## Methods

### Update()

Updates documents in the `config_displays` collection by mapping the `_t` discriminator field to a new `type` field, normalizing values to `DisplayNurse`, `StandarDisplay`, or `SmartDisplay` (defaulting to `Unknown` for any other value), removing the original `_t` field, and merging the results back into the same collection while discarding documents that do not already have a match.

    public override void Update()