Archives
-
How to control C# interface behavior using attribute.
Attribute based programming is the most cool thing in C#, using attributes you can control how your target method should behave leaving the main code absolutely un-touched. Moving forward, let's say we are doing a service call and we want to define the external method right from the interface.
-
My article at Dotnetslackers for LINQ provider
Recently, I did couple of posts regarding how to create a custom LINQ provider, I even created a project at Codeplex named LINQ.Flickr, that makes querying , adding and deleting photos , overall creating Flickr app much more enjoyable , with query flavor, similar to LINQ to SQL.
-
How to delegate Queryable.Single calls in Custom LINQ provider
When creating custom LINQ provider , despite of looping query items, it is sometimes needed that we need to get the first , last, single or more specific items from the query result.