Why doesn’t everyone just speak English (or SQL)

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 at all? After all, the purpose of inter-human communication is nicely served by English. What is…

3

DTOs or Business Objects

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 mind. It might not match someone’s…

3

LINQ to SQL: What is NOT in RTM (V1)

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 not…

13

No CRUD on entity please (aka anti-pattern of DB access methods on data/biz object)

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 designing LINQ to SQL, we went to great…

5

LINQ to SQL: features not in the designer / SqlMetal

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 SDK tool SqlMetal.exe while others are supported by neither tool and require writing code (in C#/VB…

7

LINQ to SQL breaking changes from beta2 to RTM (compiled from my LINQ forum posts)

Now that we are in the final weeks of locking down for RTM, it is worth tallying up the changes. Since betas are a bit experimental and intended for receiving feedback, the fact that there are changes shouldn’t be surprising but we could do a better job of communicating the changes to our best customers –…

13

Attach() if you have something detached

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 about the misnomer later but first here is the skinny on Attach() set of…

20

Where was I hiding (aka lame excuse for not posting before)?

OK, now that I have fessed up to having a lame excuse, I will state it without further fear: During much of September, my team-mates and I have been busy trolling forums and our inboxes for bug reports from customers in addition to copious ones that our QA team contributes. We wanted to get as…

4