07.08.2010, 05:18 | #1 |
Участник
|
CRMScape: MS CRM 4.0 LINQ Support in CRM SDK 4.0.12
Источник: http://crmscape.blogspot.com/2010/08...-sdk-4012.html
============== So far I really like what I have seen in this new SDK release MS CRM SDK. It solves real problems and will actually make life better for CRM developers. The new LINQ support can be used by people customizing their own propriety CRM systems and for integrators and xRM developers with software to deploy across different CRM schemas. How they got it right and made life easier!
Strong typing and compile time errorsSimple Maintenance From a command line all you have to do is use the new crmsvcutil.exe to generate and update the LINQ Entity class source files. More information here. MSDN reference C:\> crmsvcutil /server:http://crm/Contoso /out:MyLinqEntities One of the reasons I really appreciate this is that I wrote a utility to read all of the MS CRM Metadata and generate (Data Transfer Objects) or DTO’s for RIA services about a year ago along with all of the associated attributes for validation. Idea for MS: If we had a switch on this utility to dynamically generate validation criteria attributes from the MS CRM metadata so that we could bind a control to it, that would be great for MVVM Silverlight apps! Or generate them by default and just comment them out.Getting Started: David Yack has an explanation of how to set up MS CRM LINQ on your system and use it in a hello world project. There is no point duplicating his effort. Sample Solution: The following is a very simple sample solution 7.5Mb that is little more than the sample in the explanation link above. However the SDK libraries are included in the solution as are the Entity class files generated from the stock MS CRM 4.0 Contoso VM with a couple additions to the Account entity. Since it ONLY accesses a couple standard fields in the Account entity it should work out of the box on any CRM 4 box once the Server name is set in the app.config file. Just change the line below to whatever your local server name/orgname is and it should work. Server=<a href="http://crm/Contoso;"/"http://crm/Contoso;"//a> This is good stuff and the sooner you start using this the more time it will save you! Источник: http://crmscape.blogspot.com/2010/08...-sdk-4012.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|