in

Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.
All Tags » LINQ (RSS)

Browse by Tags

  • New Technique For Databinding Sitecore Items

    For a while now, I’ve been primarily using Sitecore sublayouts as my rendering-of-choice. The suite of controls available are hard to resist, and it’s easier for someone that doesn’t know XSLT or Sitecore to modify the sublayouts (they’re just user controls, after all). Recently, I’ve started data binding...
    Posted to Kevin Williams .NET and Stuff (Weblog) by Kevin on 09-08-2010
  • A simple way to programmatically create SharePoint security groups

    When it comes to SharePoint deployments, I try to automate everything I can.  I don’t like manual steps especially when it comes to setting up security.  A common task when deploying any sites is setting up security in some manner.  Today I am going to cover how to easily store definitions...
    Posted to Corey Roth [MVP] (Weblog) by CoreyRoth on 03-08-2010
  • Checking to see if a list item exists in SharePoint 2010

    This is another topic that is quite dear to most SharePoint developers.  We’ve all been there.  We want to know if a list item exists and the indexer is useless.  It throws an exception should we attempt to access an item that does not exist.  Well as we discovered this week there...
    Posted to Corey Roth [MVP] (Weblog) by CoreyRoth on 10-21-2009
  • Linq to XML and Deleting Lists on Feature Deactivation

    A few months ago, I discussed how to use LINQ to XML to parse your elements.xml file to delete any files that you may have deployed on feature activation.  Today I have decided to reuse this concept to delete any lists that I have created when I deactivate a feature?  Now you may ask, “why...
    Posted to Corey Roth [MVP] (Weblog) by CoreyRoth on 09-24-2009
  • Code samples from my short talk about LINQ to XML

    Today, I had the opportunity to give a short introduction on how to do some basic queries on XML documents with LINQ to XML. In the talk, I talked about how to create anonymous types from your XML document so that you can work with strong types. I also showed some uses some of the classes, methods, and...
    Posted to Corey Roth [MVP] (Weblog) by CoreyRoth on 04-29-2009
  • String[] in columns returned from KeywordQuery.Execute

    I have posted in the past about how to use the KeywordQuery class to execute an Enterprise Search query. This makes it easy to get a DataTable containing search results. However, one caveat with this is that some columns get returned as a string array (string[]) instead of a string. This can make data...
    Posted to Corey Roth [MVP] (Weblog) by CoreyRoth on 12-11-2008
  • My 500th Post! Left Outer Joins with LINQ

    Today, this blog reaches an important milestone. This is my 500th post. It's just a number, but I thought I would use it as an opportunity to talk about the history of the blog and where it is heading. On December 1st, 2004, I wrote my first .NET Tip of the Day about a great new method on primitives...
    Posted to Corey Roth [MVP] (Weblog) by CoreyRoth on 10-15-2008
  • Select Where In with LINQ

    I can't talk about SharePoint all the time, so I thought I would talk about how to perform a type of query with LINQ. In T-SQL you might have wrote something like this at one point. SELECT Title, Id FROM Table1 WHERE Id IN (SELECT Id FROM Table2) Basically, I am looking for all rows in Table1 where...
    Posted to Corey Roth [MVP] (Weblog) by CoreyRoth on 07-01-2008
  • Linq to SQL Designer Weirdness

    The Linq to SQL designer that's built into Visual Studio 2008 is pretty, and a huge improvement over what Microsoft's provided before, in terms of data modelling. I haven't used enough other OR/M's to really have an opinion about how it measures up to other products. But it does have...
    Posted to Not Necessarily Dot Net (Weblog) by JamesAshley on 06-24-2008
  • Linq to SQL with multiple databases

    I think I've mentioned that I'm working on a project that dips its fingers into databases all over the place. Its main goal is to eliminate all the systems we have around that are also doing this. If it has to be done at all (and, really, it does), it should only happen once. One of the biggest...
    Posted to Not Necessarily Dot Net (Weblog) by JamesAshley on 06-18-2008
Page 1 of 2 (19 items) 1 2 Next >
2012 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems