Skip to content
michelvandervlugt.net

michelvandervlugt.net

just another blog

Tag: Linq

Posted on May 21, 2008December 31, 2016

LINQ To SQL: Exception when removing child object from Master-Detail relationship

This week I ran into a quite unexpected exception that was thrown when I tried to remove an object from my LINQ ToSQL DataContext:

System.InvalidOperationException: Continue reading “LINQ To SQL: Exception when removing child object from Master-Detail relationship”

Posted on April 7, 2008December 31, 2016

Deferred Execution behavior in LINQ providers

LINQ uses a Deferred Execution model which means that nothing really happens until the results of the query are accessed, e.g. in a for(each)-loop. One of the advantages of this model is that you can compose complex queries in multiple steps to make them more readable. Continue reading “Deferred Execution behavior in LINQ providers”

Recent Posts

  • User authentication with WP7 and SSL WCF Service
  • Using SSL WCF Service in Windows Phone 7 app
  • Windows Azure Table Storage in the development environment, part II
  • Windows Azure Table Storage in the development environment
  • Fluent test data builder for unit tests

Tags

  • .NET
  • Azure
  • C#
  • Linq
  • Silverlight
  • Table Storage
  • unit test
  • VB.NET
  • Visual Studio
  • WCF
  • Windows Phone
  • WPF

Archives

  • December 2011
  • November 2011
  • August 2010
  • July 2010
  • May 2008
  • April 2008
  • November 2007
  • October 2007
  • August 2007
  • July 2007
  • June 2007
Proudly powered by WordPress