Base solution for your next web application
Open Closed

custom repository Issue with upgrade version. #10279


User avatar
0
shedspotter created

Prerequisites

  • What is your product version? - v10.3.0
  • What is your product type (Angular or MVC)? - Angular
  • What is product framework type (.net framework or .net core)? - .NET 5.0

If issue related with ABP Framework

  • What is ABP Framework version? - 6.3.0

I need to upgrade my application so i download latest project but i get error on custom repository for sp integration.

Context cant find i tryied with old version(v8.9.2) its working fine but in new downloaded project getting error in Context.Database.GetDbConnection();

could you please help.

Thanks in an advance.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @shedspotter

    You can use GetContext method to access the DbContext. For async methods, you can use GetcontextAsync method.