Stories recently tagged with 'LINQ' Subscribe to this feed

Using custom grouping operators in LINQ (tomasp.net)

submitted by tomasptomasp(160) 2 days, 15 hours ago

In LINQ, we can group data using the "group by" clause. However, there are other potentially useful implementations of grouping. For example, we may want to group only adjacent elements or group ascending or descending parts of the data. This article shows how to use custom behavior when grouping data using "group by" in LINQ query. read more...

add a comment | category: | Views: 18

tags: another

How to read, insert, update and delete from an XML file Using LINQ to (codetechblg.blogspot.com)

submitted by hunterz_85hunterz_85(10) 7 days, 16 hours ago

This is an introduction to Linq to XML showing how to read, insert, update and delete from an XML file. read more...

add a comment | category: | Views: 13

tags: another

.NET Framework 4.0: Comparing LINQ and PLINQ performance (weblogs.asp.net)

submitted by gpeipmangpeipman(1830) 9 days, 14 hours ago

In one of my sessions I demonstrated how PLINQ uses two CPU-s instead of one and has better performance than non-parallel processing. In this posting I will introduce my experiment and show you my example results. In the end of this posting you can find source code that is ready for demonstration. read more...

add a comment | category: | Views: 9

tags: another

Optimize LINQ to SQL with PLINQO Futures (plinqo.com)

published 14 days, 17 hours ago, submitted by pwelter34pwelter34(169) 14 days, 20 hours ago

PLINQO future queries are a way to defer query execution until it is needed. The difference between standard IQueryable deferred queries and future queries is that the future queries are batched up and executed in a single round trip to the database. read more...

add a comment | category: | Views: 258

tags: another

Join in LINQ to SQL and LINQ to Entities Considered Messy, Redundant (blogs.teamb.com)

submitted by CraigStuntzCraigStuntz(425) 20 days, 19 hours ago

LINQ queries which you write with the join keyword are harder to read and write than queries you write using associations, and they require knowledge of database metadata which is not required otherwise. This introduces the potential for errors and makes maintenance harder. read more...

add a comment | category: | Views: 8

tags: another

How To Write a Very Basic Sql Data Provider using IQueryable and IQuer (www.ozgurnair.com)

submitted by BarzohanBarzohan(25) 20 days, 21 hours ago

Writing a very simple linq to sql like data structure. read more...

add a comment | category: | Views: 11

tags: another

Populating a DropDownList with Linquify and the Entity Framework in C# (www.primaryobjects.com)

submitted by surfer6surfer6(125) 21 days, 18 hours ago

Linquify is a Visual Studio add-in and business class generator for LINQ to SQL and the Entity Framework. In this tutorial, walk through setting up a basic ASP .NET web application which populates a DropDownList control with people from a database, using Linquify and the Entity Framework. read more...

add a comment | category: | Views: 7

tags: another

The Missing LINQ - Beware of Generated Code (www.codecapers.com)

submitted by mceranskimceranski(115) 26 days, 19 hours ago

LINQ (Language Integrated Query) to SQL is a great tool because it allows developers to concentrate on business problems instead of worrying about writing SQL. Unfortunately, generated code typically comes with a catch. My general rule of thumb is that "I never trust any tools that have a wizard or generate code". After all, everytime you release code into production you are putting your reputation on the line. Therefore, don't you think it is important to know what your code is really doing under the covers? read more...

add a comment | category: | Views: 12

tags: another

Connecting PHP to Microsoft Excel using LINQ with PHP (blogs.msdn.com)

submitted by wzackwzack(1968) 27 days, 16 hours ago

Peter Laudati & Dmitry Lyalin host the edu-taining Connected Show developer podcast on cloud computing and interoperability. Check out episode 22 PHP LINQ Fest. Peter interviews Maarten Balliauw (Microsoft ASP.NET MVP) from Real Domen about two PHP-related open-source projects he has been working on. read more...

add a comment | category: | Views: 9

tags: another

Client-side properties and any remote LINQ provider (damieng.com)

submitted by CraigStuntzCraigStuntz(425) 28 days, 18 hours ago

How to use computed properties for LINQ to SQL, LINQ to Entities and anything else LINQ enabled with little effort and it works great on .NET 3.5 SP1. read more...

add a comment | category: | Views: 7

tags: another

The TekPub LINQ Challenge Part 2 – Faster Algorithms (www.codethinked.com)

published 29 days, 12 hours ago, submitted by javeryjavery(3307) 29 days, 17 hours ago

Comparing performance of different ways of checking for prime numbers, including some interested benchmarks and use of parallel linq. read more...

1 comment | category: | Views: 173

tags: another

16 Ways To Create IObservables without implementing IObservable (weblogs.asp.net)

submitted by ScottWScottW(315) 30 days, 6 hours ago

The Reactive Extensions for .Net offers plenty of ways to create IObservables read more...

add a comment | category: | Views: 14

tags: another

NHibernate vs. Entity Framework 4.0 (ayende.com)

submitted by scurialscurial(20) 1 month, 2 days ago

Compares some of the differences between NHibernate and Entity Framework 4.0. read more...

add a comment | category: | Views: 24

tags: another

Connected Show #22 - PHP LINQ Fest (www.connectedshow.com)

submitted by plaudatiplaudati(365) 1 month, 3 days ago

In this episode, guest Maarten Balliauw joins Peter to discuss his implementation of Language Integrated Query (LINQ) for PHP and linking (non-pun intended) PHP to Microsoft Office Excel via the PHPExcel project. Maarten is a Microsoft MVP for ASP.NET and a PHP developer. Also, Dmitry and Peter discuss WinCache for PHP 1.0, Moonlight 2.0, and having a backup strategy. read more...

add a comment | category: | Views: 1

tags: another

What’s the deal with AsEnumerable? (www.kodefuguru.com)

submitted by KodefuGuruKodefuGuru(965) 1 month, 3 days ago

There’s an odd LINQ method that appears to do nothing but is actually quite useful: AsEnumerable(). read more...

add a comment | category: | Views: 9

tags: another

Projecting Onto a Presentation Model with the Entity Framework and ASP (blogs.teamb.com)

submitted by CraigStuntzCraigStuntz(425) 1 month, 4 days ago

In this post, I will demonstrate how to map entity models to views in an ASP.NET MVC application without worrying about implementation details like eager loading, lazy loading, or having to manually optimize SQL for the task at hand. I will argue that expressing the relationship between an entity model in the presentation model in a LINQ projection is far simpler than other methods of doing this mapping. read more...

add a comment | category: | Views: 7

tags: another