If you are using CRM 2011 with an on premise then you should be taking advantage of the new LINQ capabilities. LINQ is really good to use because it’s basically means that instead of writing SQL queries you can write .NET code to access the database. One warning I will give you is LINQ is […]
May 7, 2011
Before Microsoft released CRM 2011 they warmed up many of the features like early bound classes and LINQ with later rollups of CRM 4 and the advanced developer extensions. I have been busy working with CRM 2011 and haven’t yet used early bound classes and linq in CRM 4 yet, as I mainly asked to […]
April 14, 2011
I have been writing some plugins in CRM 2011 and for each plugin I use I usually setup a class which does link querying. To do this I pass the OrganisationServiceContext In my plugin I create this // Get a reference to the Organization service. IOrganizationServiceFactory factory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory)); IOrganizationService service = factory.CreateOrganizationService(context.UserId); Microsoft.Xrm.Sdk.Client.OrganizationServiceContext orgContext […]
February 28, 2011
I have been using LINQ with CRM 2011 and I have to say it’s awesome. It’s a great way to code without having to write connectors to SQL databases. I used to spend hours and days writing database code when I was a Java programmer, not to mention I am always forgetting how to write […]
February 21, 2011
I was using LINQ to retrieve multiple rows and I am loving that but I was doing a linq query to get the different address for an account. This worked fine except I wanted to check the address type by name. So I wanted to retrieve the Primary address. I found out that in LINQ, […]
February 21, 2011
This took me a bit of time to work out but in the end it’s very simple. You can’t just reference a guid as a string, you have to create a guid type or cast it to be a guid. Amusingly I had to select the guid to make find out what the guid was […]
February 18, 2011
I have been trying to get my head around LINK and OData today. OData was really giving me the run around, trying to bring the sample into a piece of Javascript was very frustrating. I am a big fan of Early bound data in CRM 2011, I just like to know what I am using […]
February 14, 2011
I have been using LINQ in CRM 2011 recently and I am loving it and I also need to study LINQ for the .NET 4 exam. So I was looking for some videos about LINQ so I could understand using in CRM but also some more general videos. this first video is great for CRM […]
May 16, 2011
2