hi
how can I schedule Background job to run on monthly basis on a specific time such as EOD
You should use Background-Workers in your case.
https://docs.abp.io/en/abp/latest/Background-Workers#asyncperiodicbackgroundworkerbase
hi
The background job manager doesn't support CRON by default. It's just a simple job manager. for advanced features, you have to use a third-party library.
https://docs.abp.io/en/abp/latest/Background-Jobs#default-background-job-manager
Good news. 👍
hi
You can disable a special filter by https://docs.abp.io/en/abp/latest/Data-Filtering#idatafilter-service-enable-disable-data-filters
Add your custom LINQ query to the repository.
If there is an unhandled exception the uow should fall back/fail.
The InsertAsyc/UpdateAsync method has an autoSave parameter. You can set it to true.
https://docs.abp.io/en/abp/latest/Unit-Of-Work#alternative-to-the-savechanges
hi
As i see dataFilter adds where condition in a parenthesis then join it with prior tables, not adding where condition on the last where clause.
This is EF Core behavior, And it has some limitations. See https://learn.microsoft.com/en-us/ef/core/querying/filters https://learn.microsoft.com/en-us/ef/core/querying/filters#limitations
hi
Please try to remove the typeof(Microsoft.Playwright.NUnit.PlaywrightTest) from AbpPlaywrightTestTestBaseModule
[DependsOn(
typeof(AbpAutofacModule),
typeof(AbpTestBaseModule),
typeof(AbpAuthorizationModule),
typeof(AbpPlaywrightTestDomainModule)
// typeof(Microsoft.Playwright.NUnit.PlaywrightTest)
)]
public class AbpPlaywrightTestTestBaseModule : AbpModule
Can we accomplish all of this using ABP Suite?
See https://docs.abp.io/en/commercial/latest/abp-suite/creating-many-to-many-relationship https://docs.abp.io/en/commercial/latest/abp-suite/creating-master-detail-relationship
For the relationship, please refer to the EF Core document.
https://learn.microsoft.com/en-us/ef/core/modeling/relationships
hi
What are errors now?
Please share the full stack error.
You need to CompleteAsync the uow.
using (var uow = UnitOfWorkManager.Begin(requiresNew: true, isTransactional: false))
{
for (int indexClass = 1; indexClass <= 10; indexClass++)
{
var data = await _ClassesRepository.InsertAsync(new Classes(GuidGenerator.Create())
{
Name = indexClass.ToString(),
No = indexClass
}, true);
await CreateStudentAsync(data);
}
await uow.CompleteAsync();
}