winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

UpgradeCodeTable.h (674B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "Microsoft/Schema/1_0/OneToManyTable.h"
      5 
      6 
      7 namespace AppInstaller::Repository::Microsoft::Schema::V1_6
      8 {
      9     namespace details
     10     {
     11         using namespace std::string_view_literals;
     12 
     13         struct UpgradeCodeTableInfo
     14         {
     15             inline static constexpr std::string_view TableName() { return "upgradecodes"sv; }
     16             inline static constexpr std::string_view ValueName() { return "upgradecode"sv; }
     17         };
     18     }
     19 
     20     // The table for UpgradeCode.
     21     using UpgradeCodeTable = V1_0::OneToManyTable<details::UpgradeCodeTableInfo>;
     22 }
     23