Quantcast
Channel: RobVolk.com » LINQ
Browsing latest articles
Browse All 3 View Live

Using LINQ to Serialize a C# Object into JSON

The Problem You have a complex object and you need to serialize it into JSON (JavaScript Object Notation).  But your client code only needs one of the properties.  So why serialize the whole thing? The...

View Article



Designing a LINQ to SQL Application’s Data Access Layer

I’ve been playing around with various designs to a DAL that uses LINQ to SQL in one of my side projects.  Before LINQ, I would usually create a set of data manager classes that would perform CRUD...

View Article

LINQ: Select an object, but change some properties without creating a new object

Q: Using LINQ, if I wanted to perform some query and return the object from the query, but change only some of the properties in that object, how would I do this without creating a new object and...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images