Open Closed

Extended fields cannot be filtered? #8195


User avatar
0
lataing created

Module Entity Extensions

According to this document, I have created the SocialSecurityNumber field, but how can I filter it?

 await _userRepository.FirstOrDefaultAsync(u => u.ExtraProperties.ContainsKey("SocialSecurityNumber") && u.ExtraProperties["SocialSecurityNumber"].ToString() == socialSecurityNumber);

This method cannot function properly. Please find a solution. Thank you


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    https://github.com/abpframework/abp/issues/10662#issuecomment-972765041

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13