How to Implement Paging with LINQ

Before going into how paging is implemented with LINQ, Let’s discuss the need for implementing paging. With large amounts of data, it is not a good practice to pull all records from database when you are showing a fraction of them in one page. It is always recommended to use data on demand approach. When [...]

Share

Tags: , ,

Read Users' Comments (0)

Guidelines and Best Practices in Optimizing LINQ

Language Integrated Query (LINQ) is a query execution pipeline for use in the managed environment of .NET Framework. In essence, LINQ is Microsoft’s object relational mapper between your business objects and the underlying data sources and provides a simplified framework for accessing relational data in an object-oriented fashion. Although LINQ is great in the sense [...]

Share

Tags: , ,

Read Users' Comments (1)

How to Use IDisposable with LINQ

Objects that implement IDisposable are everywhere. The interface even gets its own language features (C#, VB, F#). However, LINQ throws a few wrenches into things: LINQ’s query syntax depends on expressions; using blocks are statements. When querying a sequence of IDisposable objects, there’s no easy way to ensure disposal after each element has been consumed. [...]

Share

Tags: , , , ,

Read Users' Comments (0)

How to Execute Arbitrary SQL using LINQ to SQL [Video]

This video, courtesy of Microsoft’s ASP.NET video series, provides an example of using LINQ to SQL to execute arbitrary SQL against a database.

Share

Tags: ,

Read Users' Comments (0)

How to Update a Table with LINQ to SQL and Stored Procedures [Video]

This video, courtesy of Microsoft’s ASP.NET video series, provides an example of using LINQ to SQL and stored procedures to update a table.

Share

Tags: , ,

Read Users' Comments (0)

How to Use Stored Procedures with LINQ to SQL [Video]

This video, courtesy of Microsoft’s ASP.NET video series, provides an example of using LINQ to SQL with stored procedures.

Share

Tags: , ,

Read Users' Comments (0)

How to Create a Custom LINQ to SQL LinqDataSource [Video]

This video, courtesy of Microsoft’s ASP.NET video series, provides an example of creating a custom LINQ to SQL LinqDataSource.

Share

Tags: ,

Read Users' Comments (0)

How to Use the LINQ to SQL LinqDataSource [Video]

This video, courtesy of Microsoft’s ASP.NET video series, provides an example of using the LINQ to SQL LinqDataSource.

Share

Tags: ,

Read Users' Comments (0)

How to Update a Database Using LINQ to SQL [Video]

This video, courtesy of Microsoft’s ASP.NET video series, provides an example of using LINQ to SQL to update a table in a database.

Share

Tags: ,

Read Users' Comments (0)

How to Use LINQ to SQL to Query a Database [Video]

This video, courtesy of Microsoft’s ASP.NET video series, provides an example of using LINQ to SQL to query a database.

Share

Tags: ,

Read Users' Comments (0)

 Page 1 of 2  1  2 »