I'm in the process of upgrading to 2.5 from 1.x. Part of the breaking changes includes the removal of the ElasticAttributes class https://github.com/elastic/elasticsearch-net/blob/master/docs/2.0-breaking-changes/nest-breaking-changes.md.
In the past I was able to do:
to get a POCO's name in Elastic.
What is the recommended way of doing so moving forward?