Welcome to Manicprogrammer Sign in | Join | Help

Rediscovering the Obvious

An occasional journey through one man's perspectives as he fumbles along in the footsteps of many great men.

Browse by Tags

All Tags » Tech » Linq   (RSS)
Linq entities and calling Attach()
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...

Posted Friday, April 04, 2008 2:58 PM by willeke | 0 Comments

Filed under: ,

Linq to XML follow up - how the magic works
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...

Posted Wednesday, February 27, 2008 1:46 PM by willeke | 0 Comments

Filed under: ,

More LINQ (to XML) happiness
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...

Posted Wednesday, February 27, 2008 12:21 PM by willeke | 0 Comments

Filed under: , ,

Linq is GREATNESS!
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...

Posted Monday, February 11, 2008 1:19 PM by willeke | 0 Comments

Filed under: ,