DEV Community

Discussion on: SQL Commands with C#

Collapse
 
zackere profile image
Zackere

I dont think you should ever use this with Linq around, which gets translated to secure SQL queries on the fly

Collapse
 
pixelatedlagg profile image
William Olsen

I find that the SQLCommand class is simpler to use than the LINQ to SQL API. Plus they both end up at the DataReader class nonetheless. Sounds like an interesting method to use SQL: will post about when finished researching.