0
    
    
        
                    viswajwalith created
                    
                    
                    
                
                - ABP Framework version: v7.3.2
- UI Type:MVC
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
We used the below statement to filter data for ExtraProperties, not working for mongoDb
(await GetQueryableAsync()).Where(u => EF.Property<string>(u, "SocialSecurityNumber") == "123")
Is there any other way to filter Extraproperties in MongoDB, Please advise.
3 Answer(s)
- 
    0hi For MongoDB, it is stored as a regular field, since MongoDB naturally supports this kind of extra elements system. https://stackoverflow.com/questions/39603151/how-to-query-bsonextraelements-in-mongodb-via-linq https://mongodb.github.io/mongo-csharp-driver/2.5/apidocs/html/M_MongoDB_Driver_Linq_LinqExtensions_Inject__1.htm 
- 
    0Worked Thanks for the support 
- 
    0You're welcome, : ) 
 
                                