AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 06.05.2019, 00:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
shashidotnet: D365 FO EDMX / OData trimmer – Make your metadata smaller
Источник: https://shashidotnet.wordpress.com/2...adata-smaller/
==============

Creating a .Net application with the OData metadata from your D365 application can generate a large file

A typical metadata file (edmx) retrieved from https:///data/$metadata will return a file of almost 17MB. Turn that into a c# file using the T4 templates and the C# source file is almost 64MB.

After spending some time trying to reduce the EDMX file to only the entities I require (and a lot of nagging by my friend) I created a way to remove the excess entities from here. Result is a smaller EDMX file, and a more lightweight .Net application for you.

Reference this Trimmed EDMX file in your T4 template

The project and instructions can be found at my Github project EDMXTrimmer: https://github.com/shashisadasivan/EDMXTrimmer



Advertisements








Источник: https://shashidotnet.wordpress.com/2...adata-smaller/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
D365 for FO Tips&Tricks: Calling PowerApps from D365 for Finance and Operations Blog bot DAX Blogs 0 14.08.2018 17:11
D365 for FO Tips&Tricks: Unlocking ‘RU’ country code functionality in D365 for FO Blog bot DAX Blogs 0 14.08.2018 17:11
D365 FO - Ошибка: Module 'AAA' is missing the following dependencies: 'BBB' MarinaAX DAX: Программирование 4 21.07.2018 22:42
sertandev: Using .NET attributes for D365 FO child class constructors Blog bot DAX Blogs 0 04.04.2018 14:11
erconsult: Copy-paste automation in D365 FO with a keyboard emulator Blog bot DAX Blogs 5 10.01.2018 13:42
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 12:04.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.