Browse by Tags
All Tags »
Linq (RSS)
Back to tech, for now. I like Linq to SQL. A LOT. However, there have been a handful of things that have annoyed me, and one of them is the story around serialization and disconnected entities. They've built a nice engine for it (DataContract-based),
Read More...
If you're curious how the XNamespace works, just do a "Go to Definition" in VS and you'll see the declarations, the key aspects are: public static bool operator !=(XNamespace left, XNamespace right); public static XName operator +(XNamespace ns, string
Read More...
Namespace handling is much improved! Yay for easy namespaces! Anybody who has worked with XML in .NET 1.x or 2.0 knows how much of a pain XML namespaces can be in extracting data, yet they fill a very important part of the XML technology. Now, for linq.
Read More...
Freaking amazing. Scenario: I need to load the contents of a table into a dictionary of objects keyed by one of the fields. Before: Write the ORM code to load the entire table. (3 lines) Initialize the dictionary (1 line). Write the for each loop to move
Read More...