Question: 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.

Answer: 
Supposedly this [MSCRM Developer Toolkit](http://code.msdn.microsoft.com/E2DevTkt) 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.
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>