DotNetShoutout - Stories tagged with Linq
4
Shouts

C#/.NET Little Wonders: Skip() and Take()

published 441 days, 8 hours, 37 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 446 days, 18 hours, 22 minutes ago
Wednesday, April 04, 2012 10:04:00 AM GMT Friday, March 30, 2012 12:19:05 AM GMT
I’ve covered many valuable methods from System.Linq class library before, so you already know it’s packed with extension-method goodness. Today I’d like to cover two small families I’ve neglected to mention before: Skip() and Take(). While these methods seem so simple, they are an easy way to create sub-sequences for IEnumerable (more)
category: Web Dev | clicked: 82 | 1 comment | | source: www.blackrabbitcoder.net
tags: .NET, Little Wonders, Take, C#, Skip, CSharp, Linq, TakeWhile, SkipWhile
2
Shouts

C#/.NET Little Wonders: The SequenceEqual() Method

published 485 days, 19 hours, 6 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 488 days, 17 hours, 12 minutes ago
Sunday, February 19, 2012 11:34:36 PM GMT Friday, February 17, 2012 1:29:06 AM GMT
This post examines a handy method of the Enumerable class that allows you to check if two sequences of values are equal. Equality of two sequences is defined as two sequences of the same length with equivalent values in the same order from both sequences. (more)
category: Web Dev | clicked: 51 | 2 comments | | source: www.blackrabbitcoder.net
tags: .NET, Little Wonders, SequenceEqual, C#, IEnumerable, enumerable, CSharp, Linq
4
Shouts

C# Needs Seqs

published 491 days, 22 hours, 37 minutes ago posted by KodefuGuruKodefuGuru 497 days, 15 hours, 18 minutes ago
Monday, February 13, 2012 8:04:31 PM GMT Wednesday, February 08, 2012 3:22:59 AM GMT
A proposition for a new keyword in C# to support IEnumberable (more)
category: How To | clicked: 28 | comment | | source: www.kodefuguru.com
tags: C#, IEnumerable, Linq
3
Shouts

Rx - Exception Handling - Bnaya Eshet

published 510 days, 11 hours, 20 minutes ago posted by bnayabnaya 514 days, 30 minutes ago
Thursday, January 26, 2012 7:21:11 AM GMT Sunday, January 22, 2012 6:11:06 PM GMT
Rx - Exception HandlingRx - Exception Handling this post will discuss exception handling within the Rx arena. handling event stream exception is not trivial, for example observable should delegate exception to its subscribers though the OnError operation and cancel the subscription. on the other hand the subscriber may want to response OnError state by renewing its subscription or fallback to alternative stream. it is true that the Rx design guidelines suggest that faulted stream should n... (more)
category: Architecture | clicked: 34 | comment | | source: blogs.microsoft.co.il
tags: retry, finally, Exception Handling, Rx, catch, Observable, observer, Linq, try
5
Shouts

A Generic Equality Comparer for LINQ

published 510 days, 11 hours, 20 minutes ago posted by BlackWaspBlackWasp 519 days, 19 hours, 23 minutes ago
Thursday, January 26, 2012 7:21:11 AM GMT Monday, January 16, 2012 11:17:33 PM GMT
LINQ operators generally use lambda expressions to control their processing and output. Some operators use IEqualityComparer (more)
category: How To | clicked: 43 | comment | | source: www.blackwasp.co.uk
tags: Linq
3
Shouts

Filter a DataTable with LINQ to Objects

posted by jphellemonsjphellemons 625 days, 11 hours, 3 minutes ago
Monday, October 03, 2011 7:37:44 AM GMT
Filtering a datatable object with linq without entity framework and thus typesafe columns (more)
category: Web Dev | clicked: 7 | 1 comment | | source: www.jphellemons.nl
tags: ASP.NET 4, Linq, DataTable
5
Shouts

C#/.NET Little Wonders: Five Easy Sequence Aggregators

published 660 days, 21 hours, 55 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 663 days, 16 hours, 19 minutes ago
Sunday, August 28, 2011 8:46:16 PM GMT Friday, August 26, 2011 2:21:44 AM GMT
Today we will look at five easy ways to aggregate sequences.  Often times when we’re looking at a sequence of objects, we want to perform some sort of aggregation across those sequences to find a calculated result. This may involve calculating the values of the sequence or projections on those values. We will look at Sum(), Average(), Min(), Max(), and Aggregate() (more)
category: Web Dev | clicked: 36 | 2 comments | | source: www.blackrabbitcoder.net
tags: .NET, Little Wonders, C#, Aggregation, CSharp, Linq
2
Shouts

Ordering data in LINQ queries by more than one column - DotNetLogix

posted by DotNetLogixDotNetLogix 669 days, 23 hours, 56 minutes ago
Friday, August 19, 2011 6:44:56 PM GMT
In this post I am going to show how to do ordering when you require to order data by using multiple columns. (more)
category: Web Dev | clicked: 10 | comment | | source: www.dotnetlogix.com
tags: C#, Linq, Linq To Entites
2
Shouts

LINQ Equivalent of SQL's "IN" keyword

published 675 days, 22 hours, 40 minutes ago posted by http://isenthil.myopenid.com/http://isenthil.myopenid.com/ 678 days, 1 hour, 54 minutes ago
Saturday, August 13, 2011 8:00:39 PM GMT Thursday, August 11, 2011 4:46:35 PM GMT
LINQ Equivalent of SQL’s “IN” keyword I came across the requirement to use the “IN” equivalent of LINQ when using Entity Framework . I am sure most of the .NET Developers would also have come across a situation to use “IN” in LINQ . Here’s an example  . (more)
category: How To | clicked: 27 | 1 comment | | source: www.ginktage.com
tags: Linq
2
Shouts

SqlMethod LIKE

posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 681 days, 1 hour, 43 minutes ago
Monday, August 08, 2011 4:58:21 PM GMT
In this post I am going to discuss about the special method available in .NET framework which allows to perform the like operation as we do in the t-sql to when searching data with string. In sql to search string data query is --Searching string contains abc i.e prabcfg, abcpr Select * from table name where columnname like '%abc%' --Searching string starts with abc i.e abcpr, abcrana Select * from table name where columnname like 'abc%' --Searching string ends with abc i.e prabc, ranaabc Select * ... (more)
category: How To | clicked: 2 | comment | | source: pranayamr.blogspot.com
tags: Linq To SQL, C#, Linq
6
Shouts

LINQ To Entity and Convert class Methods Problems

published 682 days, 22 hours, 21 minutes ago posted by dharadhara 685 days, 11 hours, 47 minutes ago
Saturday, August 06, 2011 8:20:16 PM GMT Thursday, August 04, 2011 6:53:46 AM GMT
While I was working today on one of my projects, as per habits, I used Conversion functions from Convert class and I noticed a peculiarity. Just sharing this with the readers to keep this in mind: Ideally, Convert.ToInt32("12") is same as integer... (more)
category: Web Dev | clicked: 22 | comment | | source: beyondrelational.com
tags: .NET, Linq, ASP.NET
3
Shouts

How to cook a loop

posted by slo2olsslo2ols 694 days, 7 hours, 58 minutes ago
Tuesday, July 26, 2011 10:43:30 AM GMT
With coming of Linq we rarely write loops. Actually, the most part of data fetching tasks, those earlier was done by loops, today could be simply done by Linq-to-Objects. Nevertheless, the loops are widely used for different scenarios and a developer should try to write a good loop. This post was written for beginners, but I hope that experienced developers will find in it something useful. (more)
category: How To | clicked: 4 | comment | | source: osmirnov.net
tags: C#, Indexer, Linq, Loop, enumerator
6
Shouts

Invalid Object Name with Entity framework -EFCodeFirstCTP5

published 698 days, 23 hours, 3 minutes ago posted by kinj312kinj312 701 days, 12 hours, 24 minutes ago
Thursday, July 21, 2011 7:38:07 PM GMT Tuesday, July 19, 2011 6:16:46 AM GMT
Recently I was working on one sample application with EFCodeFirst with the existing database.After doing all the coding I have found a error “ Invalid object name 'dbo.Customers'.”. Following was my code for data context using System;... (more)
category: Web Dev | clicked: 47 | comment | | source: beyondrelational.com
tags: Entity Framework, Linq, ASP.NET
3
Shouts

Composite key join in LINQ - DotNetLogix

posted by DotNetLogixDotNetLogix 708 days, 1 hour, 31 minutes ago
Tuesday, July 12, 2011 5:10:30 PM GMT
In this article I will show how to use composite key join to perform join operation in which you want to use more than one key to define a match. (more)
category: Web Dev | clicked: 8 | comment | | source: www.dotnetlogix.com
tags: composite key join, CSharp, Linq
7
Shouts

LightSpeed 4.0 .NET ORM Released!

published 716 days, 10 hours, 27 minutes ago posted by traskjdtraskjd 720 days, 9 hours, 32 minutes ago
Monday, July 04, 2011 8:14:28 AM GMT Thursday, June 30, 2011 9:09:27 AM GMT
The LightSpeed 4.0 ORM has been released and features distributed application support so you can work transparently with entities across a network, and Web enhancements that simplify development and encapsulate best practices in ASP.NET Web Forms and MVC. A huge new user guide and entirely new samples, packed with guidance not just on how to use LightSpeed but also on the best way to work with it in different environments. There is also a new metadata API, auditing capabilities and much much more. (more)
category: Architecture | clicked: 46 | comment | | source: www.mindscapehq.com
tags: LightSpeed, WCF, Linq, ORM, Mindscape
2
Shouts

Group join in LINQ - Dot Net logiX

posted by DotNetLogixDotNetLogix 723 days, 23 hours, 14 minutes ago
Sunday, June 26, 2011 7:26:32 PM GMT
A join clause with an into expression is called a group join. A group join breaks up the joined table into sequences of objects each matching/corresponding to an object from the other table. (more)
category: Web Dev | clicked: 1 | comment | | source: www.dotnetlogix.com
tags: linq join, group join, Linq, Linq To Entites
4
Shouts

A Trio of Presentations: Little Wonders, StyleCop, and LINQ/Lambdas

published 723 days, 22 hours, 57 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 726 days, 16 hours, 47 minutes ago
Sunday, June 26, 2011 7:43:52 PM GMT Friday, June 24, 2011 1:53:38 AM GMT
Re-posted three presentations on my blog. The first is a general overview of C# lambda expressions and LINQ extension methods, then a presentation on automating code standards using StyleCop and FxCop, then finally my presentation on the Little Wonders of C# and .NET. (more)
category: Web Dev | clicked: 22 | comment | | source: blackrabbitcoder.net
tags: StyleCop, .NET, lambda, Little Wonders, C#, FxCop, Linq
3
Shouts

Inner join in LINQ

published 728 days, 12 hours, 17 minutes ago posted by DotNetLogixDotNetLogix 731 days, 8 hours, 21 minutes ago
Wednesday, June 22, 2011 6:24:14 AM GMT Sunday, June 19, 2011 10:19:34 AM GMT
Inner Join returns a set of rows from two or multiple tables where there is match in join condition. Join in LINQ is a great feature introduced in .NET 3.0. (more)
category: Web Dev | clicked: 33 | 1 comment | | source: www.dotnetlogix.com
tags: .NET, CSharp, Linq, linq inner join
3
Shouts

Ordering data in LINQ Queries by more than one column

published 730 days, 6 hours, 13 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 734 days, 3 hours, 51 minutes ago
Monday, June 20, 2011 12:28:19 PM GMT Thursday, June 16, 2011 2:50:23 PM GMT
In this post I am going to show how to do ordering when you require to order data by using the multiple columns. By using .Orderby(x=>x.Columnname) in the LINQ query we can easily order data of the source collection. So most of new developer make use of the same function two time .Orderby(x=>x.Columnname).Orderby(x=>x.Columnname) and thinks that will do the ordering on the multiple columns. IEnumerable (more)
category: How To | clicked: 4 | comment | | source: pranayamr.blogspot.com
tags: Linq To SQL, Linq, C# .NET
4
Shouts

Make an animated gif with Asp.Net C#

published 734 days, 23 hours, 6 minutes ago posted by jphellemonsjphellemons 736 days, 5 hours, 53 minutes ago
Wednesday, June 15, 2011 7:34:46 PM GMT Tuesday, June 14, 2011 12:47:44 PM GMT
As you can read in the blogpost about access jpg’s through ftp with asp.net. I have explained there how I connected with FTP and retrieved images of the IP security camera. Now I have slightly modified the LINQ so that it downloads the latest 3 images and I would like to animate the transition between them. Now I know that I can use some fancy jQuery for image transitions, but I would like to merge the three images in a Gif. (more)
category: Web Dev | clicked: 24 | comment | | source: www.jphellemons.nl
tags: C#, GIF, Linq, ASP.NET
Previous 1 2 3 4 5 6 7 8 9 10 Next