Base solution for your next web application

Activities of "Mazharmig"

I just implemented a work around

Please check if this can be single step solution or I have to add ReverseMap() in every map in custom mapper. What about Rad Tool? It should also add ReverseMap in custom mapper.

I have tried having jobs in respective tenant database but it was not successful, have you tried this?

Can u show me example or some sample code. Thanks

How can I initialize custom repository with specific dbContext (connection string)?

Lets keep hangfire a side, how can i force repositories to use a specific DbContext? For example: By providing a specific connection string in EntityframeworkCoreModule public override void PreInitialize() { if (!SkipDbContextRegistration) { Configuration.Modules.AbpEfCore().AddDbContext<MCodeCoreDbContext>(options => { if (options.ExistingConnection != null) { MCodeCoreDbContextConfigurer.Configure(options.DbContextOptions, options.ExistingConnection); } else { MCodeCoreDbContextConfigurer.Configure(options.DbContextOptions, options.ConnectionString); } }); }

    }

For example Tenant A schedules a SMS sending job and this tenant has its own database and this job has nothing to do with Host database and other databases.

yes

Have you guys solved this problem?

[UnitOfWork] //Added but not working public void InitiateNewWorkflow(int requestMainId, int requestTypeId) { var initialRequestConfiguration = _requestTypeConfigurationRepository.GetAllIncluding(p => p.InitialState).Where(p => p.RequestTypeId == requestTypeId);

...other code

}

// calling... var jobId = BackgroundJob.Enqueue(() => _workflowManager.InitiateNewWorkflow(requestMainId, requestTypeId.Value));

I have added [UnitOfWork] but its not working.

Showing 11 to 20 of 39 entries