0
kevinjhackett created
Product Version: ASPNET ZERO 10.2 Product Type: ASP.NET Core and jQuery Framework: .NET 5.0 ABP Version: default 6.2 - no upgrades
I have followed the previous example documented in this support question: https://support.aspnetzero.com/QA/Questions/3950
I installed the package in the .Core project as mentioned in the support ticket
The only differences between my code and the examples is I named my classes IStoredProcRepository and StoredProcRepository instead of IUserRepository & UserRepository.
Still getting error: "The name 'Context' does not exist in the current context"
1 Answer(s)
-
0
Hi,
You can use
GetContext
method to get the context first and then use it. Something like this;GetContext().Database...
Thanks,