Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

xrm object model - strict schema enforcement?

$
0
0

Hello - I added a new field to the Contact entity. I need to make this new entity field available in code through dot notation.  crmsvcutil.exe is used to transform the CRM schema into an object model. I've successfully generated the object model and included it in a .net web app that uses it.

My question is about CRM rules around strong typing. We have a few different environments that are having some issue right now.  As a result, I may need to deploy the new auto-genned object model (Xrm.cs) without the CRM entity field update in a particular environment.

My specific question is - will the CRM strong type model allow this?  For example, you can often add a property to a web service/request response and this won't break the end clients who are referencing the previous schema. However, I think there is also a way in webservices to force a strict match on the schema.

So does CRM enforce a strict schema based on my question above (ex throws error) or can I add a property to the Xrm object model and deploy that object model to an environment where the field has not been yet added to the entity without error if that new field does not get explicitly referenced in code?


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>