Working With SQL Server HierarchyId Data Type In .NET Application
- By Deepak
- 19 November, 2010
- 2 Comments
Recently I was working with some hierarchical data stored in SQL Server. The data was related to products where each product is a package which includes other packages which in … Continue Reading →
Use LINQPad To Query Entity Framework
LINQPad is a must have tool for all .NET developers who write LINQ queries. It allows you to write and execute LINQ queries without compiling your code. In this post … Continue Reading →
A Little Milestone in ThereforeSystems Journey
- By Deepak
- 3 November, 2010
- 2 Comments
This post is to mark a little milestone for ThereforeSystems. My second post on this site was a LINQ To SQL Tutorial which was a basic tutorial to get the … Continue Reading →
ADO.NET Data Services Logical Operators
In this post we will look at Logical Operators in ADO.NET Data Services. These operators can be used as filter expressions in our requests and ADO.NET Data Services applies the … Continue Reading →
Execute Stored Procedure With ADO.NET Data Services
- By Deepak
- 16 August, 2009
- 22 Comments
Introduction In an earlier article I looked at how DO.NET Data Services can be used with ASP.NET. In this post I will talk about using ADO.NET Data Services to retrieve … Continue Reading →
ADO.NET Data Services With ASP.NET
- By Deepak
- 28 July, 2009
- 19 Comments
Introduction In this tutorial we will look at how ADO.NET Data Services can be used to create services which are consumed by ASP.NET client. We will use Adventure works Lite … Continue Reading →
Insert Master Detail Data With LINQ To SQL
- By Deepak
- 8 July, 2009
- 8 Comments
Best thing about running One .Net Way is interaction with members of developer community. I thoroughly enjoy answering questions which come my way through this site. Early in the morning … Continue Reading →
Select Max Value With LINQ To SQL
- By Deepak
- 7 July, 2009
- 12 Comments
Today I was asked a question by a developer on my team. The question is “How do you select MAX value for a column in a table with LINQ To … Continue Reading →
Create T-SQL CASE Statements With LINQ To SQL
I was recently helping Nosh with a LINQ To SQL query where he wanted the resulting T-SQL query to have CASE statements. Having CASE statements in T-SQL queries is a … Continue Reading →
Get Last Row From Table Using LINQ To SQL
- By Deepak
- 9 March, 2009
- No Comments
This query returns the last row from Sales.Customer table in Adventure Works database. I am using LINQPad to write and execute my query.
|
1 2 3 |
(from c in Customers select c) .OrderByDescending(x=> x.CustomerID).First() |
Here is the result as displayed … Continue Reading →





Copyright © 2013