DISADVANTAGES OF LINQ OVER STORED PROCEDURES

Awadhendra Tiwari

Total Post:510

Points:2550
Posted by  Awadhendra Tiwari
C# 
C#
 1977  View(s)
Ratings:
Rate this:
  1. Awadhendra Tiwari

    Post:510

    Points:2550
    Disadvantages of LINQ over Stored Procedures

    Disadvantages of LINQ over stored procedures:

    1.     LINQ needs to process the complete query, which might have a performance impact in case of complex queries against stored procedures which only need serialize sproc-name and argument data over the network.
    2.     LINQ is generic, whereas stored procedures etc can take full advantage of the complete database features.
    3.     If there has been a change, the assembly needs to be recompiled and redeployed whereas stored procedures are much simpler to update.
    4.     It’s much easier to restrict access to tables in database using stored procedures and ACL’s than through LINQ.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!