- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
LINQ to SQL, Entity Framework etc
Collapse
X
-
-
Not Linq, just Linq to SQL (and the support for the designer in VS.NET).Originally posted by themistry View Post
linq is being dropped? I had no idea.
Ok, well done ms

So all you Linq to SQL code will still run in .NET 4.0, but you will not be able to develop it further in the VS.NET 2010. You'll be encouraged to rewrite the whole thing in Linq to Entities and use the Entity Framework Designer (which is much more complex and hated).Comment
-
I've just gone over the blogs you posted. This is really quite shocking. They get something right, and decide to turn it on its head.Originally posted by DimPrawn View PostNot Linq, just Linq to SQL (and the support for the designer in VS.NET).
So all you Linq to SQL code will still run in .NET 4.0, but you will not be able to develop it further in the VS.NET 2010. You'll be encouraged to rewrite the whole thing in Linq to Entities and use the Entity Framework Designer (which is much more complex and hated).
All they had to do was allow extendable providers for more complex usage situations (i.e. bad architecture
). I have huge volumes going through a Linq To SQL backend with zero issues.
People mistake simplicity for RAD or POC. Why is the world run by thickos. I think ATW has had a hand in this.
TMComment
-
So how have you fitted it into the previous architecture best practisce patterns?
Whilst I can see the benefits of reduced coding, if you pull the database into the Business Tier you loose the benefits of OO and creating a Domain Specific Language.
I've been torn between wrapping the data entities with my business objects, or creating a translation layer between the data and business entities. (This is what my old DataLayers used to do anyway)
I like the generic approach for querying that linq provides, its just trying to fit it into previous best practices that I am struggling with.
I tried custom mappings onto my Business Entities, but ended up in a world of pooh with asociations and cyclic references, and not much documentation.. It just became really clunky...Comment
-
I didn't mean to say wcf was ugly, i love wcf, i have been struggling to fit linq to sql into the previous paradigms, that is what I find ugly. My Middle tier datalayers used to transcribe the optimised data structures from the db into nice and tidy Domian Model objects that other developers could come in and quickly pick up as per all the previous best practice guidelines..Originally posted by themistry View PostSee my points inline:
I was thinking about using partial classes as part of my suggested wrapper solution..
I may be stupid but i'm not one of these IT know it all bores -
If you provide some references to your learning material then I might take some of your patronising advice onboard, then you can feel all smug and clever.
Of course optimisation isn't a bad thing, but I have heard of at least three instances where juniour developers have picked up linq to sql used all the wizzy stuff and ended up making thousands of round trips to the db etc etc, my beef is that it can be dangourous, the last Blue chip I was at they were trying to get the BA's to wright applications..mainly because of the RAD and Linq stuff.
I'm sure I'll get a smart alec response...Comment
-
That issue also applies to NHibernate and most ORM frameworks out there. Just take them juniors to one side and give them a thrashing, they'll soon learn!Originally posted by LittlestHobbo View PostOf course optimisation isn't a bad thing, but I have heard of at least three instances where juniour developers have picked up linq to sql used all the wizzy stuff and ended up making thousands of round trips to the db etc etc, my beef is that it can be dangourous, the last Blue chip I was at they were trying to get the BA's to wright applications..mainly because of the RAD and Linq stuff.Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- How IR35 inflated an £8.5bn consultancy bill — and tests Burnham at the Budget Aug 28 07:47
- Autumn Budget 2026: FCSA’s 5 contractor asks of John Healey Aug 27 04:15
- Andy Burnham's Zoom gripe doesn’t apply to IT contractors, say recruiters Aug 26 03:41
- Check your Loan Recall paperwork for the Isle of Man: it could matter Aug 25 03:27
- Budget 2026: Contractor advisers ask for ‘IR35 reset’ Aug 24 04:57
- Why might an umbrella company fail to pay its total tax bill to HMRC? Aug 18 06:08
- Contractors, here are the late payment fixes that the Lords just turned down Aug 17 08:03
- How will HMRC's Direct Debit plan affect contractors paying VAT and PAYE? Aug 13 23:54
- HMRC's new 'reckless' tax offence: an IR35 game-changer for contractors? Aug 13 13:50
- “I’m not a Machiavellian overlord”: Adrian Sacco breaks his silence on the Contractor Loan Recalls Aug 13 06:50


Comment