Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
Common Tasks
Blog Home
Email Blog Author
RSS for posts
RSS for comments
Search
Blog - News
Recent Posts
Entity Framework CodeFirst Calling Find does Top 2
Posted
2 days ago
by
Wriju
0
Comments
Scott Guthrie Discusses Windows Azure SDK 2.0
Posted
3 days ago
by
Wriju
0
Comments
GIDS 2013 Windows Phone 8 Developer Tips and Tricks Samples and Readings
Posted
14 days ago
by
Wriju
0
Comments
Windows Store Apps power of WinJS
Posted
16 days ago
by
Wriju
0
Comments
Great Indian Developer Summit 2013 : Windows Store App Development Hands on Lab
Posted
17 days ago
by
Wriju
0
Comments
Tags
.NET
.NET/Visual Studio Tips
ADO.NET
ADO.NET Entity Framework
Announcements
Architecture
ASP.NET
Azure/Cloud
C# 3.0
C# 4.0
C#.NET
Code First
LINQ
LINQ to SQL
LINQ to XML
Resources
SQL Server
Tips and Tricks
VB.NET 10
Visual Studio 11
Visual Studio 2008
Visual Studio 2010
Visual Studio 2010 Tip
Windows 8
Windows Phone 7
Archives
Archives
May 2013
(6)
April 2013
(5)
March 2013
(1)
February 2013
(2)
January 2013
(1)
December 2012
(5)
November 2012
(8)
October 2012
(12)
September 2012
(4)
August 2012
(5)
July 2012
(6)
June 2012
(3)
May 2012
(10)
April 2012
(15)
March 2012
(1)
February 2012
(4)
December 2011
(2)
November 2011
(3)
September 2011
(2)
August 2011
(11)
July 2011
(14)
May 2011
(9)
April 2011
(11)
March 2011
(14)
February 2011
(5)
January 2011
(1)
November 2010
(8)
October 2010
(4)
September 2010
(10)
August 2010
(4)
July 2010
(9)
June 2010
(6)
May 2010
(3)
April 2010
(2)
March 2010
(11)
February 2010
(9)
January 2010
(13)
December 2009
(3)
November 2009
(4)
October 2009
(6)
September 2009
(6)
August 2009
(3)
July 2009
(4)
June 2009
(8)
May 2009
(14)
April 2009
(10)
March 2009
(11)
February 2009
(9)
January 2009
(11)
December 2008
(3)
November 2008
(3)
October 2008
(8)
August 2008
(1)
July 2008
(14)
June 2008
(5)
May 2008
(5)
April 2008
(4)
March 2008
(11)
February 2008
(11)
January 2008
(4)
December 2007
(16)
November 2007
(14)
October 2007
(9)
September 2007
(1)
August 2007
(4)
July 2007
(17)
June 2007
(17)
May 2007
(14)
April 2007
(11)
March 2007
(16)
February 2007
(4)
January 2007
(6)
December 2006
(6)
November 2006
(1)
October 2006
(9)
September 2006
(3)
June 2006
(1)
May 2006
(2)
Blogs
ADO.NET
Browse by Tags
.NET
.NET/Visual Studio Tips
ADO.NET
ADO.NET Entity Framework
Announcements
Architecture
ASP.NET
C# 3.0
C# 4.0
C#.NET
LINQ to Entity
LINQ to SQL
LINQ to XML
Parallel Computing
Podcast
Resources
SQL Server
Tips and Tricks
VB.NET
VB.NET 9.0
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Windows Forms
Blog Post:
LINQ to XML : Handling blank or no Element and Attribute
Wriju
It quite so happen that you are working with XML where you are expecting a specific element in every set. But somehow that is missing in some of the sets. Now at runtime you would get an error.. The XML file which I am targeting <? xml version = " 1.0 " encoding = " utf-8 " ?>...
on
4 May 2011
Blog Post:
LINQ : From Basics to Query
Wriju
Many of us are aware of LINQ today. LINQ is an amazing programming language feature. During my discussions I find a lot of myths around understanding. Here I have tried to demonstrate from some basics of C# 3.0 language enhancements to delegate, anonymous type, lambda expression and finally LINQ. How...
on
30 Sep 2010
Blog Post:
LINQ to SQL : Windows Forms Dynamic Where Clause
Wriju
While I was reading the book LINQ in Action , I found this chapter. Below is how we can do in LINQ to SQL. The scenario is if you want to create a LINQ and pass the where clause based on user input from UI, you need to write different queries. Instead, how you can do it in single LINQ. I have used the...
on
25 May 2010
Blog Post:
Parallel Computing: PLINQ
Wriju
Visual Studio 2010 has new API for LINQ (Language Integrated Query). This helps us to implement the power of Parallel Computing in declarative manner. LINQ without Parallel Extension It will take 3 sec for 28 thousand elements. static void Main( string [] args) { Stopwatch sw = Stopwatch...
on
2 Nov 2009
Blog Post:
LINQ to CSV : Getting data the way you want
Wriju
Getting data from CSV is one of the mostly used business in applications/tools development. Here how we can do it in LINQ, You have a table called Emp with the below details, CREATE TABLE [dbo] . [Emp] ( [Id] [int] IDENTITY ( 1 , 1 ) NOT NULL, [FirstName] [varchar] ( 50 ) NOT NULL, ...
on
24 May 2009
Blog Post:
LINQ to XML : Understanding Annotations
Wriju
Annotations are used for private use. It does not directly associated and known as Black Box in XML world. This can also be considered as meta tag. Below is an example on how it can be handled. I have created a sample Windows Applications and will try to capture my understanding. /// <summary>...
on
20 May 2009
Blog Post:
LINQ – Uniformity All Over
Wriju
I have spent a while with LINQ and still feel very new whenever I explore some new power. Here I am going to describe you how LINQ uniformly allows you write for the various types of data. In-memory data source ++++++++++++++++ List < int > arrInt = new List < int > { 1, 2, 3...
on
13 May 2009
Blog Post:
ADO.NET Entity Framework : Working with Stored Procedure – The Video
Wriju
In my previous text based blog I had promised to share the recording. Here it is and I am using Silverlight Streaming Namoskar!!!
on
7 May 2009
Blog Post:
LINQ to SQL : Understanding Compiled Query
Wriju
Understanding Compiled Query connects me to my experience in C# 3.0. Based on my personal understanding I am discussing it. You may be aware of Func<>. And you know it is a flexible delegate which allows you create reusable functions. Exactly the same way we can create compiled query so that...
on
5 May 2009
Blog Post:
Improving LINQ to SQL Application Performance
Wriju
Must read http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html Namoskar!!!
on
14 Apr 2009
Blog Post:
LINQ to SQL : Returning Scalar Value from Stored Procedure
Wriju
In LINQ to SQL it is not that easy thing to achieve as compared to other features. Let us assume you have a Stored Procedure like, Case 1: With Output Parameter CREATE PROCEDURE [dbo] . [GetEmployeeCount] @OutVal DateTime OUTPUT AS BEGIN SELECT @OutVal = GetDate () END You need...
on
9 Apr 2009
Blog Post:
LINQ to SQL : Using ChangeSet for Audit Trail
Wriju
Most of the transactional scenario, you may need to add the transaction to some table for ref. many apps does it for admin perspective. Problem You can do it in LINQ to SQL with ChangeSet but the problem is with Inserts. It does not give you the Identity field value until and unless you call...
on
3 Apr 2009
Blog Post:
C# 4.0 : New Extension Method “Zip”
Wriju
While browsing the features I found an interesting extension method called “Zip”. How it works, let’s check it. List < string > names = new List < string > { "Debajyoti" , "Sumitra" , "Wriju" , "Writam" , "Tupur" }; List < int > ages = new List < int >{ 67, 58,...
on
27 Feb 2009
Blog Post:
LINQ to Entity : Supported and Unsupported Methods
Wriju
There is a correction for this Post , so do I have changed the title. Thanks to Chris Love who pointed me the faults with earlier post, I got few question on some of the popular paging methods of LINQ which does not work on LINQ to Entity. This is by design and quite logical. In LINQ to SQL scenario...
on
2 Jan 2009
Blog Post:
ADO.NET Entity: LINQ to Entity with Relationship
Wriju
Relationship and getting data from Entity Framework using Northwind database Simple Query using ( NorthwindEntities ctx = new NorthwindEntities ()) { var query = from o in ctx.Orders select o.OrderID; foreach ( var k in query) { Console .WriteLine(k); } } ...
on
22 Oct 2008
Blog Post:
ADO.NET Entity: Insert Update and Delete with Relationship
Wriju
Few days back I had written an article on Insert/Update/Delete for simple standalone tables at ADO.NET Entity: Insert Update and Delete . Now after that many of you had requested me to put article on how it works with relationship. Here I will use a database created by me. There will be two tables...
on
15 Oct 2008
Blog Post:
ADO.NET Entity: Insert Update and Delete
Wriju
For small blogs, it requires more references and explanation, which sometimes are redundant. So I thought of writing single blog which is combination of topics more or less related to one thing. I am exploring ADO.NET Entity Framework and have been trying things out there. Here I am planning to...
on
21 Aug 2008
Blog Post:
LINQ to SQL vs. ADO.NET – A Comparison
Wriju
ADO.NET is our contemporary data access component and now we have written many applications. Now there has been a lot of talk on LINQ to SQL. So we are little skeptical about this component and trying to find some relation between existing ADO.NET technology. Purpose of this post is to give some...
on
14 Jul 2008
Blog Post:
LINQ to SQL : Missing Manual are at MSDN
Wriju
ADO.NET and LINQ to SQL Describes the relationship of ADO.NET and LINQ to SQL. Analyzing LINQ to SQL Source Code Describes how to analyze LINQ to SQL mapping by generating and viewing source code from the Northwind sample database. Customizing Insert, Update, and Delete Operations ...
on
3 Jul 2008
Blog Post:
LINQ to SQL : Troubleshooting
Wriju
Normal 0 false false false EN-US X-NONE X-NONE ...
on
3 Jul 2008
Blog Post:
LINQ to SQL FAQ
Wriju
Normal 0 false false false EN-US X-NONE X-NONE ...
on
3 Jul 2008
Blog Post:
LINQ to Entity : Querying data using ADO.NET Entity Framework
Wriju
ADO.NET Entity Framework have evolved since we have released it first time. Now with the Visual Studio 2008 if you install the .NET Framework 3.5 SP1 and Visual Studio 2008 SP1 you will get the fully functional version of ADO.NET Entity Framework. This is post Beta 3 release. To create a .edmx file...
on
30 Jun 2008
Blog Post:
LINQ to SQL: Making it N-Tier
Wriju
You can create your application use LINQ to SQL and make it N-Tier. Go ahead and watch out the MSDN Documents N-Tier and Remote Applications with LINQ to SQL LINQ to SQL N-Tier with ASP.NET LINQ to SQL N-Tier with Web Services LINQ to SQL with Tightly-Coupled Client-Server Applications ...
on
26 Jun 2008
Blog Post:
LINQ to XML : Querying XML with Namespaces
Wriju
This question arises in one of discussions. If you have a XML document with “xmlns” then LINQ to XML does not return any IEnumerable<T> J . This is strange but true for XPath and XQuery. There is a trick to get it done, Let us assume that you have a XML as follows, <? xml version =...
on
29 May 2008
Blog Post:
LINQ : IEnumerable<T> and IQueryable<T>
Wriju
IEnumerable<T> and IQueryable<T> are the two most used terms of any LINQ discussion. What I am trying to here is that I am trying to simplify the two interfaces depending on their behavior. In LINQ world we generally have few providers available within .NET Framework, like LINQ to Object...
on
6 May 2008
Page 1 of 4 (99 items)
1
2
3
4
MSDN Blogs
>
Wriju's BLOG
>
All Tags
>
linq