Hi,
Did you configure the
AutoEventSelectors
Configure<AbpDistributedEntityEventOptions>(options => { options.AutoEventSelectors.Add<OrganizationUnit>(); options.EtoMappings.Add<OrganizationUnit, OrganizationUnitEto>(); });
Hi,
yes in my DomainModule, here is the ConfigureServices
method
public override void ConfigureServices(ServiceConfigurationContext context)
{
base.ConfigureServices(context);
Configure<AbpDistributedEntityEventOptions>(options =>
{
options.AutoEventSelectors.Add<OrganizationUnit>();
options.EtoMappings.Add<OrganizationUnit, OrganizationUnitEto>();
});
}
hi
One way is a good approach. You can use
GUID? UserId
in your module.
You mean just define a property UserId
in my module without any relation? or define an entity replica to IdentityUser
entity and connect my Service
entity to it?