AXForum  
Go Back   AXForum > Microsoft Dynamics AX > DAX: Программирование
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 20.02.2017, 13:05   #8  
Stitch_MS is offline
Stitch_MS
Участник
Stitch_MS's Avatar
Соотечественники
 
397 / 483 (17) +++++++
Join Date: 27.02.2006
Location: Дания
Quote:
It is best practice to use the (SetEnumerator) class instead of the SetIterator class. This avoids problems if you are accessing the set on one tier with an iterator on another tier. Set iterators and the sets over which they iterate must be on the same client/server side. If you use SetIterator and code is marked as Called from, it is possible that the set and the iterator will end up on different tiers, and the code will fail. If you use SetEnumerator, the enumerator is automatically created on the same tier as the set. Also, to move to the next item in a set, you must explicitly call the more and next methods if you are using a set iterator. If you use SetEnumerator, you only have to call moveNext method.
https://msdn.microsoft.com/en-us/lib...titerator.aspx
Tags
remove, set, беда, проблема

 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Классы коллекций (инициализация, сериализация): List, Set, Map. petergunn DAX: База знаний и проекты 14 09.07.2025 11:37
emeadaxsupport: How to set up Images to show in MPOS Blog bot DAX Blogs 0 01.07.2015 19:11
ax_gfm_framework_team: Clear the dimension set balance ledger dimension cache Blog bot DAX Blogs 0 13.12.2013 07:12
Malaysia: Set Blog bot DAX Blogs 0 29.10.2012 19:11
fed: Net requirements update in MRP Module and Working Set of MRP Blog bot DAX Blogs 14 08.05.2012 13:09

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Рейтинг@Mail.ru
All times are GMT +3. The time now is 11:25.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.