Activities of "maliming"

hi

https://support.abp.io/QA/Questions/631/Support-for-many-to-one-and-many-to-many-relationships https://community.abp.io/articles/many-to-many-relationship-with-abp-and-ef-core-g7rm2qut

hi

[Dependency(ReplaceServices = true)]
public class MyUnitOfWorkManager : IUnitOfWorkManager, ISingletonDependency
{
    private readonly UnitOfWorkManager _innerUnitOfWorkManager;

    public MyUnitOfWorkManager(UnitOfWorkManager innerUnitOfWorkManager)
    {
        _innerUnitOfWorkManager = innerUnitOfWorkManager;
    }

    public IUnitOfWork Begin(AbpUnitOfWorkOptions options, bool requiresNew = false)
    {
        options.IsTransactional = false;
        return _innerUnitOfWorkManager.Begin(options, requiresNew);
    }

    public IUnitOfWork Reserve(string reservationName, bool requiresNew = false)
    {
        return _innerUnitOfWorkManager.Reserve(reservationName, requiresNew);
    }

    public void BeginReserved(string reservationName, AbpUnitOfWorkOptions options)
    {
        options.IsTransactional = false;
        _innerUnitOfWorkManager.BeginReserved(reservationName, options);
    }

    public bool TryBeginReserved(string reservationName, AbpUnitOfWorkOptions options)
    {
        options.IsTransactional = false;
        return _innerUnitOfWorkManager.TryBeginReserved(reservationName, options);
    }

    public IUnitOfWork Current => _innerUnitOfWorkManager.Current;
}
public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.AddSingleton(typeof(UnitOfWorkManager));
}

hi

I will provide a solution, please wait a moment.

hi

Can you share your steps and error details?

Answer

Have you tried it according to its documentation?

hi

Can you explain it a lot more?

hi pszatkowski

Can you share a simplest project to reproduce the problem.

https://github.com/abpframework/abp-samples/pull/107

hi

I will create a such example.

Answer

hi MichelZ

I don't recommend you to do this, the disadvantages outweigh the advantages.

Showing 9981 to 9990 of 11531 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.