By tag: LinqToSql
0
kicks
Mocking the Linq To Sql DataContext
A generic solution to mocking the Linq To Sql DataContext and how you can test your linq queries against an in memory database.
0
kicks
Fun with SQL: Linq to SQL and Query Efficiency
Interesting conversation (forum thread) on the efficiency of generated queries.
0
kicks
Experimental LINQ to SQL template
Damien shows a very nice way of customizing code generation of Linq to SQL
0
kicks
Building Custom Paging and Sorting Queries with LINQ to SQL
Building Custom Paging and Sorting Queries with LINQ to SQL and wrap it in Extension Method
0
kicks
LINQ To SQL and the Web.Config ConnectionString Value
This saved me a lot of time. Great post.
0
kicks
Implementing the Repository Pattern with Linq-to-Sql
The Repository Pattern, according to Martin Fowler, provides a "layer of abstraction over the mapping layer where query construction code is concentrated", to "minimize duplicate query logic". In practice it is usually a collection of data access services, grouped in a similar wa...
0
kicks
Linq to SQL with WCF in a Multi Tiered Action - Part 1
Is it true that you can not develop multi tier applications with LINQ ? Sidar answers this question by defining concepts and developing a trivial distributed application step by step, using Windows Communication Foundation as the host communication technology.
0
kicks
Linq To Sql in real word Web applications
This post presents an implementation of a DataContext per Conversation pattern in ASP.NET and Linq To Sql.
0
kicks
Scripting changes to Linq To SQL DBML files
Its very annoying if your generator overwrites all the changes you made using the designer. I've described a process you can use for scripting the changes in order to avoid this problem.
0
kicks
the LinqToSQL is a lie
LinqToSql is amazing! I've been working with it for the past week and loving every moment. However i've noticed somethig weird, it lies to me about the SQL it's generating. Here is my example...
0
kicks
GOTCHA - LINQtoSQL Paging Problem
A quick search for how to display paged records in ASP.NET will yield a ton of links and how to's ranging from as simple as automatic paging with the grid controls to custom paging and server side paging in SQL Server, but what about paging in LINQ?