![]() |
#1 |
Участник
|
Axilicious:AX 2012 Navigation Properties
Источник: http://www.ksaelen.be/wordpress/2011...on-properties/
============== It’s been a while since I’ve posted, but here’s a small little post about what I think is a cool feature in Ax 2012! In AX2009, when you have a table that has a relation to another table and you want to use it in code, you have to provide a method that performs a select on the other table and returned the related record. ( fe : SalesTable.SalesLine() ) Well this is something cool in AX2012. Here’s how you can do it now. On the main table you have the relationship. There you can use a new property called CreateNavigationPropertyMethods and set it to Yes. ![]() Once you have done this, there will be a method on you table that returns the related record. Источник: http://www.ksaelen.be/wordpress/2011...on-properties/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|