override fun loadState()

in src/rider/main/kotlin/com/jetbrains/rider/plugins/efcore/features/migrations/script/GenerateScriptDataContext.kt [50:64]


    override fun loadState(commonDialogState: DialogsStateService.SpecificDialogState) {
        super.loadState(commonDialogState)

        commonDialogState.get(KnownStateKeys.OUTPUT_FILE)?.apply {
            outputFilePath.value = this
        }

        commonDialogState.getBool(KnownStateKeys.IDEMPOTENT)?.apply {
            idempotent.value = this
        }

        commonDialogState.getBool(KnownStateKeys.NO_TRANSACTIONS)?.apply {
            noTransactions.value = this
        }
    }