hi
https://github.com/abpframework/abp-samples/tree/master/StoredProcedureDemo
I didn't change anything. : )
hi
Is your Default Language
in the AbpLocalizationOptions
?
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.IdentityServer/MyProjectNameIdentityServerModule.cs#L53-L79
hi
I only implemented the ScopedServiceProvider
. no other linq querys.
Can you try to query in an uow?
https://docs.abp.io/en/abp/latest/Unit-Of-Work#begin-a-new-unit-of-work
I have commented out the source code in the AppService section which just returns null.
The error is in the constructor of Top5WorkCodeAHTAppService
not methods.
Cannot resolve parameter 'CSM.Report.Top5WorkCodeAHTs.ITop5WorkCodeAHTRepository top5WorkCodeAHTRepository'
Can you share the code of Top5WorkCodeAHTAppService and Top5WorkCodeAHTRepository?
You can also check the dependencies of your modules
hi
When I access the list I get an exception
Whitch website? and whitch page?
Can you share the full error logs?
hi
It works for me.
I want to connect my background service to an API. Is this approach supportable with CurrentTenant.Change or the ABP has another approach?
Your API may require permissions, and authentication in a background job is not recommended. This is complicated.
You can consider calling the domain service directly in the job, so that CurrentTenant.Change
will work.
According to the current design, you cannot do this. DbContext
can't inherit multiple parent classes. (ElsaContext and AbpDbContext
)
Cannot use multiple context instances within a single query execution. Ensure the query uses a single context instance.
Are you using multiple context ? This is a EF Core error.