Hi,
You need to call SDK RetrieveEntityRequest (http://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.messages.retrieveentityrequest.aspx ,
http://msdn.microsoft.com/en-us/library/gg327860.aspx) to fetch the attribute metadata information including Attributes Display and Logical name etc.
i.e
RetrieveEntitityRequest lclEntitityRequest = new RetrieveEntitityRequest();
RetrieveEntitityResponse lclEntityResponse = null;
// Make sure to replace account replace with the entity name..
lclEntitityRequest.LogicalName = "account";
lclEntitityRequest.RetrieveAsIfPublished = true;
lclEntitityRequest.EntityFilters = Microsoft.Xrm.Sdk.Metadata.EntityFilters.Attributes;
lclEntityResponse = (RetrieveEntitityResponse)CrmService.Execute(lclEntitityRequest);
You need to iterate Entity Attributes to get the Display name of the particular attribute.
For further information you can refer the above mentioned links.
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex
Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".