-
Search
-
Archives
- May 2025
- May 2022
- July 2020
- June 2020
- May 2020
- March 2020
- August 2019
- May 2019
- February 2019
- January 2019
- October 2018
- May 2018
- April 2018
- January 2018
- December 2017
- June 2017
- May 2017
- August 2016
- December 2015
- May 2015
- November 2014
- July 2014
- June 2014
- March 2013
- December 2012
- September 2012
- January 2012
- October 2011
- March 2011
- November 2010
- October 2010
- August 2010
- May 2010
- March 2010
- January 2010
- October 2009
- May 2009
- April 2009
- March 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- June 2007
- May 2007
- February 2007
- November 2006
- October 2006
- September 2006
- July 2006
- May 2006
- April 2006
- March 2006
- October 2005
-
Meta
Category Archives: Entity Framework
LINQ
LINQ doesn’t have the equivalent of the SQL “IS NULL” operator. e.g. SELECT * FROM dbTable where dbColumn IS NULL In LINQ to write a query against nullable column, fashion the query as, var results = from a in dbTable where a.dbColumn == null select a; or string myVar = null; var myRows = from […]
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Entity Framework, LINQ
Comments Off on LINQ
ADO.NET data services
ADO.NET data services does not support SQL Server 2008 DateTimeOffset type… Too bad.
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> ADO.net, Entity Framework
Comments Off on ADO.NET data services
ADO.NET Data services
ADO.NET Data Services is now included in VS2008 SP1. Fairly easy to install and get started. Created an ASP.NET web service to host the ADO.NET Data Services framework (service), the data source was the based on entities created using the entity framework. The service is addressable using either a REST format or through LINQ. Data […]
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> ADO.net, Entity Framework
Comments Off on ADO.NET Data services
Learning LINQ – Extension methods
Extension methods can be used to extend the set of methods that you can use for LINQ queries, namespace TestConsoleApplication { class Program { static void Main(string[] args) { int[] myNumbers = { 1, 2, 3, 4, 5,7 }; // the j=>j lambda expression as a parameter to the method so compiler // implicitly converts […]
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> .NET, Entity Framework, LINQ, Microsoft
Comments Off on Learning LINQ – Extension methods