Howto: Use lambda expression in SharePoint – Working with SPWeb

English Before you continue reading this post, I hope you have read the basic task to start using lambda expression in SOM here. A.  Find any Event list in site. SPWeb spWeb = SPContext.Current.Web var lists = spWeb.Lists.OfType<SPList>().Where(              l Continue reading

Howto: Use lambda expression in SharePoint Object Model – Working with WebApplication

English Before you continue reading this post, I hope you have read the basic task to start using lambda expression in SOM here. A. Find existing job definition, named “Change Log” SPWebApplication spWebApplication = SPContext.Current.Site.WebApplication; var jobs = spWebApplication.JobDefinitions.Where(x => Continue reading

Howto: Use lambda expression in SharePoint Object model

English Lambda expression has been introduced since .NET framework 3.5, it is an anonymous function that can contain statement and expression. For more understanding on lambda expression you can read directly in MSDN page here. I will assume that you Continue reading