问题
In order to do queries to Microsoft Dynamics CRM, certain entity names must be passed to filter the results. However, using .NET Framework 4, I don't have the EntityName enumeration, although it should be public. Why is that?
These are the enums I miss: http://msdn.microsoft.com/en-us/library/bb959317.aspx
回答1:
Deprecated in CRM 2011. From the SDK:
In earlier versions of Microsoft Dynamics CRM had an enumeration called EntityName that represented the entity type code for each entity. For Microsoft Dynamics CRM 2011, these two values have been changed to constants on each entity class.
See SDK topic "Summary of Changes Between Versions"
(The example you gave was from the CRM 4.0 SDK)
来源:https://stackoverflow.com/questions/10914575/entityname-enumeration