[CSHARP-2519] AsQueryable Linq Condition and BsonDocument Filter Created: 15/Feb/19 Updated: 25/Jun/20 Resolved: 25/Jun/20 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | API |
| Affects Version/s: | 2.7.3 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | SUJIL | Assignee: | Wan Bachtiar |
| Resolution: | Done | Votes: | 0 |
| Labels: | Bug, driver, question, rfw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
ASP.net Core / WEB API |
||
| Description |
|
Hi All, I have one Model Class its ID element contain BsonDocument and rest of the properties are normal BsonElement ,i would like to Get the information from the DB with normal Linq Condition and Filter inside the BsonDocument also , Please let me know how can i do that Eg : Model : [BsonElement("ID")] [BsonElement("FirstName")] Thanks |
| Comments |
| Comment by Rachelle Palmer [ 25/Jun/20 ] |
|
Hi there, thank you for reaching out to MongoDB. As this sounds more like a support issue, I wanted to give you some resources to get this question answered more quickly:
Thank you! |