How to create client-side OData proxy dll for Microsoft Dynamics 365 for Finance & Operations (AX)?

Dynamics 365 for Finance & Operations (AX) has an OData interface with which we can easily integrate third-party applications with it. The generation of the proxy class makes it easier to do .net programming against this OData endpoint by creating strongly typed classes for entities and attributes which will give IntelliSense support in Microsoft Visual …