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
.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
Attach() if you have something detached
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
20
Comments
It is clear from the forums that this whole business of attaching detached objects in LINQ to SQL (DLinq) is confusing. Some of it is intrinsic, some is perhaps our design and perhaps a bit attributable to the misnomer "detached object support". More...
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
The DLinq Dilemma: SQL shall be SQL, and C# shall be C#, and never the twain shall meet
Posted
over 7 years ago
by
Dinesh Kulkarni - MSFT
50
Comments
With a tip of a hat to Rudyard and his ballad , I would say Oh SQL is SQL and C# is C#, and never the twain shall meet Till rows and objects manually a dev has both to beat But there is neither SQL nor C#, nor join nor dot When LINQ stands to link...
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
Lazy ORM users deserve it!
Posted
over 7 years ago
by
Dinesh Kulkarni - MSFT
14
Comments
Let's say you build an app that uses a traditional ORM concept of lazy loading. Your app binds an Order object to a grid and lets the user lazily load related objects like OrderLines. Your user - a normal cubicle dweller, queries for an Order and then...
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
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
A Developer's Guide to SQL Server 2005 (Bob Beauchemin and Dan Sullivan)
Posted
over 7 years ago
by
Dinesh Kulkarni - MSFT
1
Comments
At TechEd, I casually asked Bob about a recent revision of his book and a little later, a 1k page book landed on my desk - courtesy Bob. I was very impressed by the content and style.The topics range from the commonly used ones like ADO.NET v2 to more...
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
The Long Tail: Chris Anderson's talk on MS campus
Posted
over 7 years ago
by
Dinesh Kulkarni - MSFT
0
Comments
I am taking a break from LINQ/C#-related posts for a littler detour. Today I attended Chris Anderson's talk about " The Long Tail ". We often have authors of interesting technical/business/organizational books visit the campus as a part of their book...
Dinesh's Cyberstation
DLinq Mapping: External Or Not (Attributes or XML file)
Posted
over 8 years ago
by
Dinesh Kulkarni - MSFT
27
Comments
At PDC (and before that on ObjectSpaces project), this was a hot discussion topic. What approach is better: attributes or external source like an XML file. I would like to open up this topic beyond the 1:1 conversations at PDC to the blogosphere. I will...
Dinesh's Cyberstation
The journey continues (musings of a LINQer)
Posted
over 7 years ago
by
Dinesh Kulkarni - MSFT
3
Comments
Good question - in the kitchen of course! The dish is now ready on the LINQ home page and our VP - Soma has a nice blog about it already. I feel exhausted but happy to be able to share the results of "our" work with you. The word "our" in English...
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 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
ObjectSpaces -> DLinq
Posted
over 8 years ago
by
Dinesh Kulkarni - MSFT
17
Comments
Soon after Anders + Don demo in PDC keynote, several folks asked me about ObjectSpaces. It was one of my favorite projects (notice the past tense). But it is time to talk about its future rather than past. The future of ObjectSpaces is DLinq. We used...
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 (fka DLinq): What's new in Orcas beta2
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
22
Comments
Orcas beta2 is here for you. This is significantly ahead of beta1 and pretty close to the final feature set of Orcas for most components. The releases are available both as regular installs and as VPC images . Now that Orcas beta2 has been released...
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: 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
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
Connected, Disconnected and DLinq
Posted
over 8 years ago
by
Dinesh Kulkarni - MSFT
4
Comments
Here is another FAQ question that has come up at PDC. Since DLinq is a part of the next version of ADO.NET, it is natural to ask - is it connected or disconnected? After all, we have talked about connected vs disconnected components in ADO.NET quite...
Dinesh's Cyberstation
LINQ is pronounced link, "LIN Cue" or Lynx
Posted
over 6 years ago
by
Dinesh Kulkarni - MSFT
5
Comments
A minor note - at TechEd in Orlando, many attendees decided to pronounce Language INtegrated Query (LINQ) as either "lin cue" or "lynx". Maybe we can get a cooler logo with lynx now! We pronounce it the same as "link" though! All its components are...
Dinesh's Cyberstation
DLinq: What's cooking in the kitchen
Posted
over 7 years ago
by
Dinesh Kulkarni - MSFT
18
Comments
OK, after hibernating in the winter, I am back on the blog. Some of you joined us on DLinq chat last week so you already have a sense of what is going on. For others, here is a peek at what we are working on: Inheritance: table-per-hierarchy...
Page 1 of 3 (65 items)
1
2
3