Geeks With Blogs
Frank Wang's inspirations on .NET
IEnumerable<Inspiration> inspirations = from i in DataContext.Inspirations where i.Sharable == true select i
LINQ
Serialization issue with timestamp in LINQ to SQL
Many of you use timestamp in LINQ to SQL because it's easier for us figure out if an object is new or not. This is specially useful when we need to track the state of objects in disconnected/N-tier scenarios. An important thing to note, though, is that the timestamp column is mapped as a System.Data.Linq.Binary property in the LINQ generated object so it is part of the XML serialization when you use the LINQ to SQL objects in Web Services/WCF services. The real problem is that System.Data.Linq.Binary ......

Posted On Friday, August 29, 2008 7:14 PM

LINQPad - A must-have cool tool for your LINQ programming
LINQPad lets you interactively query SQL databases in the brand LINQ language. For those who are just started playing with LINQ, this tool is a great way to learn LINQ, and for those who are already familiar with LINQ and use it everyday, it can be used as a nice utility to test/debug your LINQ queries before you put them into your project code. LINQPad can be downloaded from http://www.linqpad.net/ No installation is required after the download. It's also pretty straightforward to use LINQPad. After ......

Posted On Friday, March 7, 2008 3:55 PM

Copyright © Frank Wang | Powered by: GeeksWithBlogs.net