-
Notifications
You must be signed in to change notification settings - Fork 16
Home
Magnus Gether Sørensen edited this page Aug 22, 2017
·
5 revisions
XrmContext generates early-bound .NET classes which represent the entity model of the given Dynamics CRM instance.
XrmDefinitelyTyped can be installed and updated via NuGet
PM> Install-Package Delegate.XrmContext
It is very similar to that of CrmSvcUtil, but has several new features that help you code better and more reliably, and generates files that takes up less space.
Features include:
- Much smaller code files
- Both entity- and solution-based filtering available
- Option sets are generated as enums
- Attributes of type
OptionSetValue
(and others) have been abstracted away, and strongly-typed, to allow for cleaner and more robust code. - Additional helper methods for both entities and the service context have been added.
- Simple deprecation of attributes/fields
- DebuggerDisplay attributes on entities
Click here for more details on each of these points.
First see how to generate the context, and afterwards check out what you can use the generated code for.
Setup Instructions
- Generate Context
- Comparison with CrmSvcUtil
- Fixing breaking change in 2.X
- Using XrmContext in a .net core project
Contribute