public void CanUseParamsWithSQLCQ() { SQLCQ sqlcq = new SQLCQ(connectionString); List <NorthWindObject> d = sqlcq.ExecuteQuery <NorthWindObject>( "SELECT * FROM [Categories] WHERE CategoryID = @catId", new[] { new SQLCQParameter() { Name = "@catId", value = 2 } }); var x = 1; }
public void CanUseSQLCQ() { SQLCQ sqlcq = new SQLCQ(connectionString); List <NorthWindObject> d = sqlcq.ExecuteQuery <NorthWindObject>("SELECT * FROM [Categories]"); var x = 1; }