Sign in
Dinesh's Cyberstation
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Data Access
LINQ
Archive
Archives
October 2010
(1)
March 2009
(3)
August 2008
(2)
July 2008
(2)
June 2008
(4)
May 2008
(5)
April 2008
(1)
November 2007
(2)
October 2007
(8)
July 2007
(2)
June 2007
(5)
July 2006
(2)
June 2006
(1)
May 2006
(2)
March 2006
(5)
October 2005
(3)
September 2005
(7)
June 2005
(5)
April 2005
(2)
March 2005
(2)
April 2004
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Dinesh's Cyberstation
Moving to a new location www.dineshk.net
Posted
over 3 years ago
by
Dinesh Kulkarni - MSFT
0
Comments
After a long break, I plan to restart blogging - but in a more personal location so I can blog about a few more things than would make sense under msdn. http://www.DineshK.net Hope to see you there Dinesh
Dinesh's Cyberstation
.NET RIA Services Resources (for March 2009 Preview)
Posted
over 4 years ago
by
Dinesh Kulkarni - MSFT
4
Comments
Some of it is covered in my previous post and on Silverlight.net but here is a summary: Bits (prereq: Visual Studio 2008 SP1, Silverlight 3 beta tools for VS): RIA Services March Preview (unveiled last week at MIX) Documentation / video A PDF file with...
Dinesh's Cyberstation
.NET RIA Services is now public
Posted
over 4 years ago
by
Dinesh Kulkarni - MSFT
10
Comments
A few folks have asked me what I have been up to after wrapping up LINQ previews and V1. I have not been able to answer that question satisfactorily because what we were working on was non-public (well almost except the mention of now obsolete name "Alexandria...
Dinesh's Cyberstation
"Essential LINQ" book to be published tomorrow
Posted
over 4 years ago
by
Dinesh Kulkarni - MSFT
4
Comments
I have been underground for a while - trying to wrap up the LINQ book and working on some exciting stuff for Silverlight. For the latter, my lips are sealed until Mix 209. For the former, it is a different story ... Last month, I finally finished all...
Dinesh's Cyberstation
.NET Framework 3.5 SP1: LINQ perf improvements (LINQ to Objects and LINQ to SQL)
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
7
Comments
There are three perf improvements in the just released SP1 . As always, I will let you run your own microbenchmarks or more meaningful app-level benchmarks. LINQ to Objects: Specialized enumerable: The new implementation recognizes queries that...
Dinesh's Cyberstation
Templated code gen for LINQ to SQL
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
2
Comments
This is going to be a brief one. If you are using LINQ to SQL, you should check out Damien's new templated code generator sample. One of our regrets from LINQ to SQL V1 days was not providing an easy way to tailor the code-gen. This is one step in that...
Dinesh's Cyberstation
Relational-Object-XML-Object with LINQ to SQL & LINQ to XML
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
7
Comments
This is old story and I have used parts of it over the last three years to show how LINQ lets you navigate from relational (R) to object (O) or object to XML (X) etc. But for a forthcoming demo, I had to write some quick code today and it looked like...
Dinesh's Cyberstation
LINQ to SQL Tips 9: Understanding DataContext's internal caching
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
2
Comments
Back to the "tips" series after a little break ... One common question I get is about caching of data in LINQ to SQL. It means a lot of different things so let's start with the following baseline: LINQ to SQL was designed to get you objects from the...
Dinesh's Cyberstation
An account of Bill Gates' farewell
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
1
Comments
An unusual subject for this blog that has been mostly about components I have worked on. But the event yesterday was memorable and worth sharing. The event has been covered widely so I won't even try to broadly summarize. Insted I will list what I found...
Dinesh's Cyberstation
Design of LINQ to SQL - What was I thinking or was I?
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
11
Comments
A little break from my "LINQ to SQL tips" series of posts. A recent vote of no confidence on a related component orchestrated by community activists reminded me of many questions I have fielded and how the design team approached the design of LINQ to...
Dinesh's Cyberstation
LINQ to SQL Tips 8: How to (and why) create a partial class in the designer to augment generated code
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
5
Comments
The code generated for LINQ to SQL is a set of partial classes - one for your DataContext and one per entity mapped to a table or a view. That means you have the opportunity to augment the generated code with additional code in your partial class. I often...
Dinesh's Cyberstation
LINQ to SQL Tips 7: Minimal update when you don't want optimistic concurrency check
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
2
Comments
The common guidance for updates is to keep the original values in view state so that you can recreate the object in its original state, Attach() it and then set the values that the user has modified. This works well for the most part. But at times, a...
Dinesh's Cyberstation
LINQ to SQL Tips 6: How to refresh given DataContext won't stomp on your objects
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
5
Comments
The DataContext is a rather careful beast. Once an object is retrieved, the DataContext will not stomp on it if a query returns the same object again. This is intentional. Imagine the chaos if you modified some of the retrieved objects or even read the...
Dinesh's Cyberstation
LINQ to SQL Tips 5: Using stored procs that return multiple results
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
7
Comments
Often I get the following questions about stored procs in LINQ to SQL: I have sproc that returns multiple results. How can I use it in LINQ to SQL? Can I use a sproc that returns results of different shapes; e.g. Customers and Orders? I drag...
Dinesh's Cyberstation
LINQ to SQL Tips 4: Use DeleteOnNull if you want to delete object with null FK
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
5
Comments
I often get a question along the following lines: If I remove one of the OderDetails from Order.OrderDetails collection, I see that the reference OrderDetail.Order is set to null but this just orphans the OrderDetail; it is not deleted. How can I change...
Dinesh's Cyberstation
LINQ to SQL Tips 3: Deferred (lazy) or eager loading of related objects with stored procs
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
3
Comments
This post is a confluence of two distinct sets of comments I got: The above-mentioned feature is a well-hidden secret; and I post code only in C# while there is a big community of VB users who like LINQ to SQL So here we go ... First, the...
Dinesh's Cyberstation
From LINQ team to App Framework on Silverlight team
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
0
Comments
A while ago (October last year), I moved from C# team to the "UI Frameworks" team inside the .NET Developer Platform team. C# team is where LINQ was incubated and large portions of LINQ were productized: LINQ to Objects, LINQ to SQL and C# 3.0 to be precise...
Dinesh's Cyberstation
Lifetime of a LINQ to SQL DataContext
Posted
over 5 years ago
by
Dinesh Kulkarni - MSFT
11
Comments
One of the frequently asked questions is about the lifetime of a DataContext. Should it be a long-lived, application-scoped object or should it be a short-lived, request-scoped object? Let's get to the answer by considering the key parameters: DataContext...
Dinesh's Cyberstation
LINQ to SQL Tips 2: how to use common base class for all entities
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
6
Comments
Here is another question I get quite often: I have some common fields (maybe id and timestamp) and some common behavior across all my entities. How do I handle that in LINQ to SQL? After all, the only inheritance mapping supported is Table Per Hierarchy...
Dinesh's Cyberstation
LINQ to SQL Tips 1: how to map an enum
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
8
Comments
I was out on vacation (Zion, Bryce Canyon and Grand Canyon National Parks) so my blog went dark for a while. Also, I noticed a few comments that were incorrectly flagged by the spam filter - I have now published them, albeit after a delay. Sorry about...
Dinesh's Cyberstation
Why doesn't everyone just speak English (or SQL)
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
3
Comments
There is already so much fictional/scientific/medical/... literature in English so why doesn't everyone in the world just speak English? There are so many dialects and variations of English that one has to often understand. Why bother with another language...
Dinesh's Cyberstation
DTOs or Business Objects
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
3
Comments
I keep getting a lot of questions about whether DLinq is for data objects or for business objects. There is no shortage of advice - both good and bad about what one should and should not do with DLinq. Here, I want to briefly describe what we had in...
Dinesh's Cyberstation
LINQ to SQL: What is NOT in RTM (V1)
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
13
Comments
Most of my posts have been about what is new in beta2 or RTM or how you can do great things with feature X and how bug Y has been fixed. Now that we are practically done with V1, it is time to do the somewhat unpleasant task of saying - sorry, this is...
Dinesh's Cyberstation
No CRUD on entity please (aka anti-pattern of DB access methods on data/biz object)
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
5
Comments
I keep getting this question so often - "I want to do xyz. I have CRUD (Create, Read, Updated, Delete) methods on my entity class ...." Stop right there. By now I have completely forgotten about "xyz" and I am rushing to climb on my soapbox! While...
Dinesh's Cyberstation
LINQ to SQL: features not in the designer / SqlMetal
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
7
Comments
I often answer questions based on what the run-time (System.Data.Linq.dll) supports, sometimes realizing only later that the run-time feature may not be supported by the visual designer in Visual Studio. Some of these are supported by the command line...
Page 1 of 3 (65 items)
1
2
3