Early-bound Template-based Code Generator

Description

An XrmToolBox plugin that can be used to generate Early-bound code from a CRM Schema using a customisable T4 Template.

Features:
+ Preserved the original CrmSvcUtil structure and logic.
+ Customize the way the code is generated.
-- You get a default T4 template for the code that is generated, with a multitude more features than the official tool (features below).
-- You can rewrite the whole template if you wish for any possible requirements.
+ Replaced the SDK types with .NET types.
+ Generate only what's needed
-- Only choose the entities required.
-- Only the fields required.
+ Additional control
-- Option to use display names of entities and fields as variable names instead of logical names.
-- Override field names inside the tool's UI.
-- Ability to Lock variable names to avoid code errors on regeneration.
+ Support for strongly-typed alternate keys, for entities and Entity References.
+ Add annotations for model validation.
+ Generate metadata.
-- Field logical and schema names.
-- Localised labels.
+ Automatically limit attributes retrieved from CRM on any entity in a LINQ to the ones choosen (filtered) in the tool (check new entity constructors).
+ Many options to optimise generated code size even further.
+ Generate concrete classes for CRM Actions.
+ Support bulk relation loading.
-- Support filtering on relation loading.

Latest version release notes

* 2.5.1.4
Improved: save values sorted to improve source control difference detection.
Update: upgraded to the newest YS Library.
* 2.4.1.2
Added: [template] unify global option-sets (thanks https://github.com/ClemensWon)
Updated: libraries to more recent versions
Fixed: Use Display Names option not saved correctly
Fixed: [template] ActivityParty naming issue (thanks https://github.com/ClemensWon)
Fixed: [template] multiselect option-sets mapping to global option-sets (thanks https://github.com/ClemensWon)
Fixed: [template] consider the 'use display names' setting for global option-sets
* 2.3.1.1
Improved: filtering feature now works over logical and display names, and renames
Updated: latest custom libraries
Fixed: template issues
* 2.2.2.1
Fixed: mishandling errors
* 2.2.1.1
Added: Filter Details window row filtering
Fixed: generated code 'labels' syntax error
* 2.1.0.1
Added: recent settings list (load history)
Added: reset option for the template text
Added: toast notification for clearer status
Improved: load and save logic
Fixed: fixed cancel button
Fixed: issues
* 2.0.0.1
Added: all missing features from VS extension (click on 'Quick Guide' for more info), except Contracts
Added: keep track of paths (settings, template, and code) used in previous sessions and the links between them
Fixed: layout issues
* 1.0.0.5
Fixed: assembly issues
* 1.0.0.3
Changed: updated package name
* 1.0.0.1
Initial release

Versions

Version Release date Number of downloads Rating
2.5.1.4 7/27/2023 8:54:28 AM 6894 0.00
2.5.1.3 7/25/2023 7:37:30 PM 34 0.00
2.5.1.2 7/9/2023 2:09:37 AM 1474 0.00
2.5.1.1 5/29/2023 11:07:11 AM 1993 0.00
2.4.1.2 12/14/2021 11:30:54 PM 13707 0.00
Show more versions (9 more)

Ratings

Latest version

No feedback yet. Add yours

Other versions

Mohammed El Sayed () - version 2.2.2.1

Related information

Author: Ahmed Elsawalhy Latest version: 2.5.1.4 Released on: 07/27/2023 Nuget package Id: Template-based-CRM-Code-Generator-Plugin Open Source: true Go to project web site Ratings (all versions) 5Average rating 1Number of ratings Downloads 6894Latest version 47596All versions 3399.71Average per version Tags Customizations Development Plugins