DAX 2009: Вопросы и ответы

Очень давно ничего не писал, год прошел, даже пароль пришлось восстанавливать :)

Недавно пришло письмо от коллеги:

“Помоги, пожалуйста, понять что это за звери такие:

1. У View, Table, Map появилось новое свойство – EntityRelationshipType на что влияет?

Я видел по коду это свойство использовалось в AIF, но хотелось бы знать для чего конкретно….

2. У EDT появились свойства PrecenseIndicatorAllowed, PrecenseClass, PrecenseMethod по коду их применение не нашел…

Документацию мы найти по этим нововведениям не смогли.”

По первому вопросу информация есть на MSDN: https://msdn.microsoft.com/en-us/library/cc602654.aspx, описание примерно такое:

“The Reverse Engineering Tool supports a new model type. You can now use the Reverse Engineering Tool to generate an .erx file that can be used to create an entity relationship (ER) data model. An ER data model describes the data in a system and provides a means of visualizing tables, views, and their relationships. You can import an .erx file into modeling tools, such as Microsoft Office Visio and CA ERwin Data Modeler, where you can create an ER data model from the imported elements. For more information, see Reverse Engineering Tool Overview.

Several additional properties have been added to the Properties sheet to aid in describing application elements. The DeveloperDocumentation and EntityRelationshipType properties have been added to the Properties sheet for tables, views, and maps. The EntityRelationshipRole property has been added to the Properties sheet for table relations. These properties are helpful in describing application elements and how they relate. The descriptions for these properties are captured in the .erx file that is generated from the Reverse Engineering Tool and can be used in describing the elements within an ER data model.”

А PresenceIndicatorAllowed используется для интеграции с Office Communicator, которая появилась в AX 2009. Например, в Глобальной Адресной Книге, на закладке “Сведения о связи”.

Детали реализации можно посмотреть в классе DirPresenceInfo и для расширенного типа данных DirPartyId.

Данная статья подготовлена с помощью Windows Live Writer .