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

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09