views:

158

answers:

5

Is there any free code generating tool that can connect to crm server and create code for selected entities? The code should use SDK assemblies.

UPDATE: @friism
C# code if possible, each entity one class and each attribute one property so it's not necessary to use Properties collection. That's basically what I had in mind, when I started searching, but perhaps there is better solution out there.

+1  A: 

I've written a blog post with some sample code for talking with the metadata-service and generating classes: http://friism.com/crmmetal-and-linqtocrm

friism
+1  A: 

Supposedly this MSCRM Developer Toolkit contains a code generation feature. I haven't used it. I tried installing - but I had some installation issues. Maybe you'll have more luck.

benjynito
A: 

The MSCRM Developer Toolkit contains a code generation feature. AND it's a huge pain to install.

Chris Jones
A: 

We have a library called XrmLinq, it does exactly what LINQ to SQL does, generates classes by looking at the entities in crm. Take a look http://www.xrmlinq.com

Amanda Mattson
A: 

The CRM SDK (4.0.0012) now includes a free code-gen tool and LINQ query provider.

Shan

Shan McArthur