Activities of "maliming"

I believe I can reproduce the problem in your computer during the meeting, but I still need to find the cause.

hi You can refer to these documents.

https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication https://docs.abp.io/en/commercial/latest/startup-templates/microservice/asynchronous-interservice-communication

hi

Sent. :)

OK I will share the source code of the layout with you. You can tell me which source code you need.

liming.ma@volosoft.com

Please send a mail to me, Thanks

hi

We fixed this in next rc version.

https://github.com/abpframework/abp/pull/17525

Thanks

hi

What theme are you using now?

Lepton or LeptonX? mvc or angular

Thanks

hi

Yes, You can also add a new table

Id
UserID
CreatedDate
Password

hi https://github.com/abpframework/abp/pull/17534

hi

https://learn.microsoft.com/en-us/ef/core/modeling/shadow-properties#accessing-shadow-properties


[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(EfCoreIdentityUserRepository), typeof(IIdentityUserRepository))]
public class MyEfCoreIdentityUserRepository : EfCoreIdentityUserRepository
{
    public MyEfCoreIdentityUserRepository(IDbContextProvider<IIdentityDbContext> dbContextProvider) : base(dbContextProvider)
    {
    }

    public override async Task<List<IdentityUser>> GetListAsync(
        string sorting = null,
        int maxResultCount = int.MaxValue,
        int skipCount = 0,
        string filter = null,
        bool includeDetails = false,
        Guid? roleId = null,
        Guid? organizationUnitId = null,
        string userName = null,
        string phoneNumber = null,
        string emailAddress = null,
        string name = null,
        string surname = null,
        bool? isLockedOut = null,
        bool? notActive = null,
        bool? emailConfirmed = null,
        bool? isExternal = null,
        DateTime? maxCreationTime = null,
        DateTime? minCreationTime = null,
        DateTime? maxModifitionTime = null,
        DateTime? minModifitionTime = null,
        CancellationToken cancellationToken = default)
    {
        if (sorting == "TestField asc" || sorting == "TestField desc")
        {
            var queryable = (await GetDbSetAsync())
                .IncludeDetails(includeDetails)
                .WhereIf(
                    !filter.IsNullOrWhiteSpace(),
                    u =>
                        u.UserName.Contains(filter) ||
                        u.Email.Contains(filter) ||
                        (u.Name != null && u.Name.Contains(filter)) ||
                        (u.Surname != null && u.Surname.Contains(filter)) ||
                        (u.PhoneNumber != null && u.PhoneNumber.Contains(filter))
                )
                .WhereIf(roleId.HasValue, identityUser => identityUser.Roles.Any(x => x.RoleId == roleId.Value))
                .WhereIf(organizationUnitId.HasValue, identityUser => identityUser.OrganizationUnits.Any(x => x.OrganizationUnitId == organizationUnitId.Value))
                .WhereIf(!string.IsNullOrWhiteSpace(userName), x => x.UserName == userName)
                .WhereIf(!string.IsNullOrWhiteSpace(phoneNumber), x => x.PhoneNumber == phoneNumber)
                .WhereIf(!string.IsNullOrWhiteSpace(emailAddress), x => x.Email == emailAddress)
                .WhereIf(!string.IsNullOrWhiteSpace(name), x => x.Name == name)
                .WhereIf(!string.IsNullOrWhiteSpace(surname), x => x.Surname == surname)
                .WhereIf(isLockedOut.HasValue, x => (x.LockoutEnabled && x.LockoutEnd.HasValue && x.LockoutEnd.Value.CompareTo(DateTime.UtcNow) > 0) == isLockedOut.Value)
                .WhereIf(notActive.HasValue, x => x.IsActive == !notActive.Value)
                .WhereIf(emailConfirmed.HasValue, x => x.EmailConfirmed == emailConfirmed.Value)
                .WhereIf(isExternal.HasValue, x => x.IsExternal == isExternal.Value)
                .WhereIf(maxCreationTime != null, p => p.CreationTime <= maxCreationTime)
                .WhereIf(minCreationTime != null, p => p.CreationTime >= minCreationTime)
                .WhereIf(maxModifitionTime != null, p => p.LastModificationTime <= maxModifitionTime)
                .WhereIf(minModifitionTime != null, p => p.LastModificationTime >= minModifitionTime);

            queryable = sorting.Contains("desc")
                ? queryable.OrderByDescending(b => EF.Property<string>(b, "TestField"))
                : queryable.OrderBy(b => EF.Property<string>(b, "TestField"));

            return await queryable.PageBy(skipCount, maxResultCount).ToListAsync(GetCancellationToken(cancellationToken));
        }

        return await base.GetListAsync(sorting, maxResultCount, skipCount, filter, includeDetails, roleId, organizationUnitId,
            userName, phoneNumber, emailAddress, name, surname, isLockedOut, notActive, emailConfirmed, isExternal,
            maxCreationTime, minCreationTime, maxModifitionTime, minModifitionTime, cancellationToken);
    }
}


Showing 6461 to 6470 of 11539 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.