Also , can you share the steps? it may a problem, we should fix it if so.
Hi,
You can try:
(await GetDbContextAsync()).Users
Hi,
We used distributed events: https://docs.abp.io/en/abp/latest/Distributed-Event-Bus
You can check it: https://github.com/abpframework/abp/blob/dev/modules/blogging/src/Volo.Blogging.Domain/Volo/Blogging/Users/BlogUserSynchronizer.cs
Hi
how can you get it? or product name?
https://github.com/abpframework/abp/blob/dev/modules/blogging/src/Volo.Blogging.Domain/Volo/Blogging/Users/BlogUser.cs
This is what we did, we have redundant user data in the blog module and synchronize data using distributed events.
If you just want to get the product, you can try:
public class BlogProductController : //....
{
private readonly IProductionAppService _productAppService; // dynamic Http Api proxy
public BlogProductController(//....)
public async Task<Product> GetProductByName(string productName)
{
// will send a http request to product module.
return await _productAppService.GetProductByName(productName)
}
}
Hi,
You can get data from the module via Http API, ABP provided dynamic Http Api proxy system. you can call it like a local method.
Or you can directly reference the data layer(.MongoDB or .EntityframeworkCore) project, so you can inject the repository to query data
I understand that abp's pre-built events do not support this cascade deletion , right ?
Yes.
Hi,
My understanding may not be correct, please let me know if yes.
You can bind the click event of the button, just an example:
...
$("#exportButton").click(function(){
window.location.href = "/api.."
})
...
But with below implementation child entity deletion handler never triggering ?
This is the current design, you need to manually call the delete method of the Repository
Hi,
See: https://github.com/abpframework/abp/issues/8887
if you change DbTablePrefix, then module will fail). It is recommended to use the static properties to arrange these options (like AbpIdentityDbProperties.DbTablePrefix = "MyPrefix").