Stories recently tagged with 'LINQ'

String Matching in LINQ(blogs.telerik.com)

submitted by jnpetrovjnpetrov(95) 1 month, 4 days ago

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 perform string matching? Into which SQL is the LINQ expression translated? read more...

add a comment |category: |Views: 320

tags: another

Difference between SkipWhile and Where in linq(www.dotnetjalps.com)

submitted by jalpeshjalpesh(1352) 1 month, 12 days ago

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 of collection based on condition. It will filter whole collection while SkipWhile will only skip those elements in list until condition is true and after that it will stop filtering of skipping. Now let’s take an example where we can see the difference between Where and SkipWhile. Following is a code for that. read more...

1 comment |category: |Views: 146

tags: another

TakeWhile operator in linq(www.dotnetjalps.com)

submitted by jalpeshjalpesh(1352) 1 month, 14 days ago

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. read more...

add a comment |category: |Views: 20

tags: another

SkipWhile Method in Linq(www.dotnetjalps.com)

submitted by jalpeshjalpesh(1352) 1 month, 15 days ago

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 following console application code. read more...

add a comment |category: |Views: 7

tags: another

A LINQ Style Range Generator(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4217) 1 month, 27 days ago

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. read more...

add a comment |category: |Views: 6

tags: another

Building Expression Evaluator with Expression Trees in C# – Part 3(www.aboutmycode.com)

submitted by mcnamaragiomcnamaragio(283) 2 months, 7 days ago

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. read more...

add a comment |category: |Views: 183

tags: another

Building Expression Evaluator with Expression Trees in C# – Part 3(www.aboutmycode.com)

submitted by mcnamaragiomcnamaragio(283) 2 months, 7 days ago

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. read more...

add a comment |category: |Views: 183

tags: another

Building Expression Evaluator with Expression Trees in C# – Part 3(www.aboutmycode.com)

submitted by mcnamaragiomcnamaragio(283) 2 months, 7 days ago

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. read more...

add a comment |category: |Views: 183

tags: another

LOLCode Parser(chriscavanagh.wordpress.com)

submitted by BobStroggBobStrogg(1033) 2 months, 8 days ago

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

add a comment |category: |Views: 25

tags: another

Multiple where clauses in Linq(www.tkglaser.net)

submitted by tkglasertkglaser(132) 2 months, 19 days ago

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). read more...

add a comment |category: |Views: 23

tags: another

Build a mvc ajax application using javascript and knockout.js/mvvm (javascriptiqueryable.codeplex.com)

submitted by mastefano64mastefano64(25) 3 months, 6 days ago

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 Microsoft" to compose dynamically your query. There is also support for knockout, so you can use in your pages the "MVVM" pattern. There is also support for jquery mobile, so you can create a datasource for a jquery mobile apps. read more...

1 comment |category: |Views: 208

tags: another

Add a visual Linq expression builder to your app today!(www.codeproject.com)

submitted by dpetersondpeterson(4397) 3 months, 25 days ago

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. read more...

add a comment |category: |Views: 380

tags: another

DevForce LINQPad driver(www.ideablade.com)

submitted by dpetersondpeterson(4397) 4 months, 10 days ago

LINQPad is an enormously helpful development tool for building and executing LINQ queries and C#/VB expressions. In response to customer requests, we’ve built a DevForce LINQPad driver that lets you use LINQPad with DevForce models. There's no need to struggle with the EF or Universal drivers or add namespaces and assemblies. read more...

add a comment |category: |Views: 136

tags: another

A Generic Equality Comparer for LINQ(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4217) 4 months, 11 days ago

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. read more...

add a comment |category: |Views: 160

tags: another

Shuffle in linq (part 2)(csharpsimple.blogspot.com)

submitted by manudeamanudea(53) 4 months, 14 days ago

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

1 comment |category: |Views: 16

tags: another

Shuffle in Linq(csharpsimple.blogspot.com)

submitted by manudeamanudea(53) 4 months, 14 days ago

A simple implementation for shuffling a list in linq. read more...

add a comment |category: |Views: 9

tags: another