Advantage of LINQ over stored procedures
Advantage of LINQ over stored procedures.Advantage of LINQ over stored procedures -
- Type Safety-linq has no default type .
- Debugging- debugging of linq is quite easy rather than store procedure because it is part of .Net
- While Store procedure written in sql database. Store Procedure offer few features to implement typical user task as compared to linq , Lambda expressions is one of best approaches to accomplish typical user required in optimal coding way.
|
Partition following list of numbers by their remainder when divided by “3”-{Var numbers() = {5, 4, 1, 3, 9, 8, 6, 7, 2, 0}}Partition following list of numbers by their remainder when divided by “3”-{Var numbers() = {5, 4, 1, 3, 9, 8, 6, 7, 2, 0}}