Browse by Tags

All Tags » C# (RSS)

LINQ Tips #7 Create a LINQ to Anything(3) by RobertNet

Yesterday, we implemented a simple LINQ to Objects pattern. In our post , we overwrote the  data source , if you can remember, all the return value were added a tail as "LINQ". But this seems useless, in the NFlickr project, we need to...
Filed under: ,

LINQ Tips #6 Create a LINQ to Anything(2) by RobertNet

Yesterday, we sort of created a baby step of a LINQ to anything implementation ; We stopped at the place to implement the interface IQueryProvider, the most important method in this interface for us is IQueryable<TElement> CreateQuery<TElement>...
Filed under: ,

LINQ Tips #5 Creating a LINQ To Anything by RobertNet

We knew there are at least 3 implementation in .Net 3.5, they are LINQ to Objects, LINQ to XML and LINQ to SQL. I don't believe Microsoft will create different pattern for those. In my current open source project NFlickr , because I have thousands of...
Filed under: ,

LINQ Tips #1--Get a list of interface by RobertNet

In the most of the case, we can use the LINQ to filter out a list of the object collection. But if we are designing a framework which means we will use the interface talk to each other. The collection has to be the container of a set of interface which...
Filed under: ,
More Posts