Activities of "rushas"

Hi,

Thank you for your response. After making the following change to the code, my system started working as it did before:

For example, I had a method in the Application layer like this:

[UnitOfWork]
public async Task<SomethingDto> SomethingMethod() { ... }

This method worked fine in version 8.2. However, after upgrading to .NET 9.0, it stopped working. (Error: 'The data you have submitted has already been changed by another user. Discard your changes and try again.')

I applied the solution you suggested:

public async Task<SomethingDto> SomethingMethod() {
    using (var uow = UnitOfWorkManager.Begin(requiresNew: true, isTransactional: true)) {
        ...
        await uow.CompleteAsync();
    }
}

After implementing this change, the method works correctly again. I didn't make any other changes to the main block of the method.

What do you think could be the reason for this behavior?

​I love the DB table import in ABP suite. But, when importing DB views, extensive code changes are needed for read-only pages. Any plans to support importing read-only DB views in ABP suite?

Showing 1 to 2 of 2 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.0.0-preview. Updated on July 14, 2025, 11:57