Browse by Tags
All Tags »
LINQ to SQL (RSS)
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
Read More...
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
Read More...
Must read http://www.sidarok.com/web/blog/content/2008/05/02/10-tips-to-improve-your-linq-to-sql-application-performance.html Namoskar!!!
Read More...
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
Read More...
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
Read More...
As part of my day to job I come across a very common question from the developer community that one should be using LINQ to SQL (L2S) or ADO.NET Entity Framework (EF). Earlier I have posted a blog containing the features http://blogs.msdn.com/wriju/archive/2009/01/05/choosing-between-linq-to-sql-and-entity-framework.aspx
Read More...
There have been many talks going on while deciding between LINQ to SQL and Entity Framework. There is one article published in MSDN at When do I use LINQ to SQL? I want to LINQ to SQL is applicable Use an ORM solution and my database is 1:1 with my object
Read More...
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.
Read More...
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,
Read More...
Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:"";
Read More...
Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:"";
Read More...
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
Read More...
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
Read More...
Wonderful composition of FAQ is available at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2769747&SiteID=1 by Matt Warren . Q: How do I get default values from the database when inserting new entities? A: LINQ to SQL does not support using
Read More...
Luca, the Microsoft Lead Program Manager, he is one of my favorite presenters. The way he demonstrate uninteresting thing and make fun of himself is one everyone should learn. Please enjoy the through presentation of LINQ to SQL at http://blogs.msdn.com/lucabol/archive/2008/03/03/linq-to-sql-overview-video.aspx
Read More...