Activities of "liangshiwei"

This seems to be related to your code

The property 'Provstate.Id' is part of a key and so cannot be modified or marked as modified. To change the principal of an existing entity with an identifying foreign key, first delete the dependent and invoke 'SaveChanges', and then associate the dependent with the new principa

https://stackoverflow.com/questions/73704497/the-property-is-part-of-a-key-and-so-cannot-be-modified-or-marked-as-modified-f https://github.com/dotnet/efcore/issues/4560

Hi

I didn't understand what you meant, Can you explain in detail?

Hi,

It looks like a problem with dotnet SDK. You may need to manually add the dotnet tool global folder to the PATH.

Check this: https://github.com/dotnet/sdk/issues/9415 https://stackoverflow.com/questions/69894735/zsh-command-not-found-dotnet-ef

Currently, it is like this, you need to click on the menu again.

We will try to solve this problem in the future version

Hi,

We preferred to use the abpremoteservice library.

When you use remote services, you need to install Package Volo.Abp.Http.Client.IdentityModel.Web

Hi,

Ok, please. my email is shiwei.liang@volosoft.com

Hi,

There could be many reasons for the problem, can you provide the full steps to reproduce the problem, I will check it

Hi,

You can declare the feature they need when defining permissions.

For example:

var myGroup = context.AddGroup("MyGroup", L("Permission:MyGroup"));

var permission = myGroup.AddPermission("Test", L("Permission:Test")).RequireFeatures(.....);

See https://docs.abp.io/en/abp/latest/Deployment/Configuring-OpenIddict#production-environment

@shaynevanasperen@gmail.com

This is a temporary solution

[ExposeServices(typeof(IdentityUserDelegationManager))]
public class MyIdentityUserDelegationManager : IdentityUserDelegationManager
{
    public MyIdentityUserDelegationManager(IIdentityUserDelegationRepository identityUserDelegationRepository) : base(identityUserDelegationRepository)
    {
    }

    public override async Task DelegateNewUserAsync(Guid sourceUserId, Guid targetUserId, DateTime startTime, DateTime endTime,
        CancellationToken cancellationToken = new CancellationToken())
    {
        if (sourceUserId == targetUserId)
        {
            throw new BusinessException(IdentityErrorCodes.YouCannotDelegateYourself);
        }
        
        await IdentityUserDelegationRepository.InsertAsync(
            new IdentityUserDelegation(
                GuidGenerator.Create(),
                sourceUserId,
                targetUserId,
                startTime,
                endTime,
                CurrentTenant.Id
            ),
            cancellationToken: cancellationToken
        );
    }
}
Showing 3441 to 3450 of 6693 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.