- 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
-
-
Originally posted by themistry View Postlinq 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
-
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
-
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
-
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
- Life Insurance services Today 10:21
- Relevant Life Insurance Services Today 10:08
- Will umbrella company regulation spark mergers and acquisitions? Today 09:24
- Critical Illness Insurance for Contractors: Protect Yourself When It Matters Most Yesterday 16:26
- Relevant Life Insurance for Contractors with a Limited Company Yesterday 16:14
- Life Insurance for Contractors: Why it’s Essential Yesterday 16:09
- Guide to Income Protection Insurance for Contractors Yesterday 16:00
- Treasury minister told six actions can save contractor umbrella sector from ‘existential’ crisis Yesterday 09:40
- Critical Illness Services Jan 13 16:41
- Income Protection Services Jan 13 16:35
Comment