SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Entity Framework
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ferrethouse
Constraint Violating Yak Guru

340 Posts

Posted - 06/09/2014 :  18:26:31  Show Profile  Reply with Quote
How many of you DBAs are stuck working in an environment where LINQ and/or the Entity Framework are used? I fully appreciate that these things make the lives of developers much easier but I'm regularly running into scenarios where application performance is suffering because LINQ is being translated into sub-optimal TSQL. In fact, I've just been told by a developer that the "StartsWith" LINQ construct that is being translated into a CHARINDEX = 1 instead of a LIKE 'blah%' is a known limitation and there is no workaround. My index is being ignored because of this.

Frustration mounting.......

tkizer
Almighty SQL Goddess

USA
37129 Posts

Posted - 06/09/2014 :  18:44:32  Show Profile  Visit tkizer's Homepage  Reply with Quote
This was a huge problem at my last job. I tried to make stored procedures a requirement but lost that battle. Thankfully I'm now in an environment where the DBAs do have the power. I'm much happier.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000