02.03.2017, 20:11 | #1 |
Участник
|
Kashperuk Ivan: Extensible enums: Breaking change for .NET libraries that you need to be aware of
Источник: http://kashperuk.blogspot.com/2017/0...hange-for.html
============== A while back I wrote a blog post describing the Extensible Enums - a new feature that is part of Dynamics 365 for Operations: http://kashperuk.blogspot.com/2016/0...ible-base.html I explained that when marking an enumeration as extensible, the representation of this enum under the hood (in CLR) changes. Here's the specific quote: The extensible enums are represented in Источник: http://kashperuk.blogspot.com/2017/0...hange-for.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
24.04.2017, 18:57 | #2 |
Модератор
|
Цитата:
Because the values are now determined at runtime by going to the AOS and asking for the correct integer value of this enum, they cannot be used in a switch/case block, which expects constant expressions known at compile-time
__________________
-ТСЯ или -ТЬСЯ ? Последний раз редактировалось Vadik; 25.04.2017 в 08:03. |
|
|
За это сообщение автора поблагодарили: Logger (1). |
Теги |
baseenum, d365o, финансовая аналитика |
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|