In this post, we will write a query using MongoDB aggregate method to get all records having Max (Highest) value for specific field. If you are new to aggregation framework, I would recommend to read following post first:
MongoDB Query: Select and Filter Child Array
Consider a collection school with the following documents:
Month: February 2016
MongoDB Query: Select and Filter Child Array
If you are using embedded document to model one to many relationships in MongoDB, sometimes you might need to get child data only depends on the report. This post explains some experiments related to select and filter child array with MongoDB queries. Consider a collection school with the following documents:
How to Get the Entity Column List from Microsoft Dynamics CRM
If you are working to integrate your C# application with Microsoft Dynamics CRM, You might need to get the Entity Column List. This article explains how to get the list of entity columns from CRM in C# application.
You need to download the Microsoft Dynamics CRM SDK package and install it, the installation process will extract sdk files and folders.