<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Extension Methods on Nicolas Nowinski</title><link>https://nicknow.net/tags/extension-methods/</link><description>Recent content in Extension Methods on Nicolas Nowinski</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 26 May 2015 22:42:41 +0000</lastBuildDate><atom:link href="https://nicknow.net/tags/extension-methods/index.xml" rel="self" type="application/rss+xml"/><item><title>Dynamics CRM: Extensions to Improve IOrganizationService</title><link>https://nicknow.net/dynamics-crm-iorganizationservice-extension-methods/</link><pubDate>Tue, 26 May 2015 22:42:41 +0000</pubDate><guid>https://nicknow.net/dynamics-crm-iorganizationservice-extension-methods/</guid><description>&lt;p&gt;I&amp;rsquo;ve become a big fan of &lt;a href="http://www.dotnetperls.com/extension"&gt;extension methods&lt;/a&gt; over the years to make my development work in Dynamics CRM, easier to implement and easier to read (i.e., easier to support.) &lt;a href="https://msdn.microsoft.com/en-us/library/bb383977.aspx"&gt;Extension methods&lt;/a&gt; allow us to, exactly as the name implies, extended an existing class or interface with new methods - its a simpler version of implementing a &lt;a href="https://msdn.microsoft.com/en-us/library/a48h1tew.aspx"&gt;derived class&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Anyone familiar with developing .NET code for Dynamics CRM will be familiar with the &lt;code&gt;IOrganizationService&lt;/code&gt; interface and its varied implementations. While in most cases I&amp;rsquo;m a fan of implementing my own version of IOrganizationService, often for code-base simplicity I&amp;rsquo;ll rely on some extension methods for my code.&lt;/p&gt;</description></item></channel></rss>