EntityName枚举 [英] EntityName enumeration

查看:184
本文介绍了EntityName枚举的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了对Microsoft Dynamics CRM进行查询,必须传递某些实体名称以过滤结果。但是,使用.NET Framework 4时,我没有EntityName枚举,尽管它应该是公开的。为什么?

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?

这些是我想念的枚举: http://msdn.microsoft.com/en-us/library/bb959317.aspx

These are the enums I miss: http://msdn.microsoft.com/en-us/library/bb959317.aspx

推荐答案

在CRM 2011中弃用。从SDK中:

Deprecated in CRM 2011. From the SDK:


在Microsoft Dynamics CRM的早期版本中,有一个名为EntityName的枚举,每个实体的实体类型代码。对于Microsoft Dynamics CRM 2011,这两个值已更改为每个实体类上的常量。

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.

请参阅SDK主题版本之间的更改摘要

See SDK topic "Summary of Changes Between Versions"

例如,您提供的是CRM 4.0 SDK)

(The example you gave was from the CRM 4.0 SDK)

这篇关于EntityName枚举的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆