Error!
Success!

By tag: Linq

showing:  of
0
kicks

String Matching in LINQ  (Unpublished)

Performing simple string equality tests is often not enough when application user convenience is key. Often only a fragment of a string is known to the user, or many of them. Sometimes there is a need to search for a fragment in multiple columns. Which options does OpenAccess and LINQ provide to pe...


Kicked By:
Drop Kicked By:
0
kicks

Difference between SkipWhile and Where in linq  (Unpublished)

Before some time I have written a blog post about the SkipWhile operator and a reader of my blog asked me that we can do the same thing with Where also but there is a difference between this two. So In this post I am going to explain you difference between those two. Where operator filters a list...


Kicked By:
Drop Kicked By:
0
kicks

TakeWhile operator in linq  (Unpublished)

In this post I am going to explain TakeWhile Operator in details. TakeWhile is one of partitioning operator available in Linq. It will take sequence until condition becomes false.


Kicked By:
Drop Kicked By:
0
kicks

SkipWhile Method in Linq  (Unpublished)

I have been playing around linq and I have found great method call SkipWhile method. SkipWhile methods skips particular element which matches condition in predicate this can be use full in condition where we need to skip elements on particular condition. So let’s take some example. I have written...


Kicked By:
Drop Kicked By:
0
kicks

A LINQ Style Range Generator  (Unpublished)

Language-Integrated Query (LINQ) provides the Enumerable.Range method that generates incrementing sequences of integers. This article describes a similar method that allows the creation of more complex ranges with the repeated application of a function.


Kicked By:
Drop Kicked By:
0
kicks

LOLCode Parser  (Unpublished)

LOLCode parser and compiler. Now your cat can code for you.


Kicked By:
Drop Kicked By:
0
kicks

Building Expression Evaluator with Expression Trees in C# – Part 3  (Unpublished)

A third post of a series about building expression evaluator using expression trees in C#. This post adds support for variables using shunting yard algorithm.


Kicked By:
Drop Kicked By:
0
kicks

Multiple where clauses in Linq  (Unpublished)

This might be common knowledge but I discovered today, that you can have as many where clauses in Linq as you like. Makes a Linq query look even cleaner (IMHO).


Kicked By:
Drop Kicked By:
0
kicks

Build a mvc ajax application using javascript and knockout.js/mvvm  (Unpublished)

javascriptiqueryable: Javascript to IQueryable is a framework that allows you to write a simple query in javascript client side and then execute it server side with EntityFramework or a linq provider that implement IQueryable. On the server is used "Dynamic Expressions and Queries in LINQ by Mi...


Kicked By:
Drop Kicked By:
0
kicks

Add a visual Linq expression builder to your app today!  (Unpublished)

Rabb Moshe Plotkin has created and open-sourced a control for creating Linq queries visually. Using this control, you can give your users the power to query data, rather than writing canned reports or queries.


Kicked By:
Drop Kicked By:
0
kicks

A Generic Equality Comparer for LINQ  (Unpublished)

LINQ operators generally use lambda expressions to control their processing and output. Some operators use IEqualityComparer<T> implementations to compare values. This article describes a generic comparer, driven by delegates, designed for use in queries.


Kicked By:
Drop Kicked By:
0
kicks

Shuffle in linq (part 2)  (Unpublished)

There are many times when we need to randomly sort a list or array.


Kicked By:
Drop Kicked By:
0
kicks

Shuffle in Linq  (Unpublished)

A simple implementation for shuffling a list in linq.


Kicked By:
Drop Kicked By:
0
kicks

Monadic Philosophy Part 2 – The LINQ Monad  (Unpublished)

If you don't come from a math or philosophy background (and I don't) "monad" sounds like a made-up word. Of course, understanding OO's use of terms like "class" and "object" can be hard to grok at first too. But at least those terms have some grounding in real-world con...


Kicked By:
Drop Kicked By:
0
kicks

Sequence contains no elements : LINQ error  (Unpublished)

Learn how to fix linq and lambda expression error "Sequence contains no elements"


Kicked By:
Drop Kicked By: