Table of Contents

Class U_0_1_2_UpdatePointOfCareConfig

Namespace
adas_core.Infrastructure.Migrations.MongoMigrations
Assembly
adas-core.Infrastructure.dll

Represents a database migration responsible for updating the Point of Care configuration schema.

public class U_0_1_2_UpdatePointOfCareConfig : Migration, IMigration
Inheritance
U_0_1_2_UpdatePointOfCareConfig
Implements
Inherited Members
Extension Methods

Remarks

The migration identifier prefix (U_0_1_2) indicates a specific ordering or version step within the migration sequence.

Constructors

U_0_1_2_UpdatePointOfCareConfig()

public U_0_1_2_UpdatePointOfCareConfig()

Methods

Update()

Updates all point-of-care documents in the database by migrating their embedded configuration arrays (beacons, cameras, and relayList) to empty identifier list structures (beaconIdList, cameraIdList, and relayIdList), preserving the existing arrays' data not retained in this operation.

public override void Update()