Open Closed

How to Use Temporal Tables (EF Core 6) #2108


User avatar
0
richward created

We would like to use EF Core 6 to use the new temporal tables functionality. How would we go about doing this without disruting the ABP current functionality that use EF Core 5?

Many thanks.

  • ABP Framework version: v4.4.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will release 5.0 soon. It using the NET 6. https://github.com/abpframework/abp/releases/tag/5.0.0-beta.3

  • User Avatar
    0
    richward created

    Thanks so much, maliming! Is it possible to upgrade from our current version to this?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Follow this https://github.com/abpframework/abp/blob/dev/docs/en/Migration-Guides/Abp-5_0.md

  • User Avatar
    0
    richward created

    Hi maliming -

    Thank you for this.

    We tried this but alas no luck, we were able to compile the code fine for API and IDP projects, but on running they were failing.

    1. Installed .Net 6 SDK
    2. Installed Visual Studio 2022 (some blogs said it might be due to that)

    But now getting and ABP related error saying below on IDP project:

    "AbpException: Could not find the bundle file '/Themes/Lepton/Global/Styles/lepton2.css' for the bundle 'Lepton.Global'!"

    and API project was not running at all with 500 error.

    And advice you can offer would be greatly appreciated.

    Many thanks,

    • Rich
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What's your ABP Framework version?

  • User Avatar
    0
    richward created

    hi

    What's your ABP Framework version?

    Hi maliming -

    v4.4.0

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @richward, temporal tables is an EF Core 6 feature as you've mentioned. So you need to upgrade your project to v5.0.0-rc.1 to be able to use it.

    Follow the migration guide documentations to upgrade your project v4.4.0 to v5.0.0-rc.1.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38