can anyone please explain by giving example, why there will be no sql injection attacks while using LINQ ??
string str = "select * from emp_table"
(Here sql injection occurs)
var my_value = from c in emp_table select c;
How can sql injection is prevented here ??
Any help is appreciated....
Thanks and Regards