What is the best way to avoid SQL injection on MSSQL Server from C# code using Linq?
Should you use a function to strip of security issues or is it handled by the framework?
What is the best way to avoid SQL injection on MSSQL Server from C# code using Linq?
Should you use a function to strip of security issues or is it handled by the framework?
Errr, you cant SQL inject using LINQ. Behind the scenes LINQ to SQL converts values into a parameterized query.
So yes it is handled by the framework.