I typically still code in Dynamics using LateBound requests. There have been a few instances where I have switched to Early Bound but I continue to do this for the following reasons
- I don’t like dragging around proxies into my code that can change environment to environment.
- When not depending on proxies, I feel have more options to downgrade my code into different versions based on what can be discovered.
- I get to learn about all the hidden relationships between entities and attributes that gives me a deeper understanding of what lies beneath.
With that said, this week I needed to access some queues in Dynamics and see what was in them.
To do this, I queried Dynamics for my queue based on the name provided.
QueryExpression query = new QueryExpression(); query.EntityName = "queue"; query.ColumnSet = new ColumnSet(true); query.Criteria.AddCondition("name",