private IEnumerable SelectRows(string p) { throw new NotImplementedException(); }
private IEnumerable SelectRows(string p) { var rows = from row in db.Row where row.field1 = p select row; // then you either use foreach (Row row in rows) { yield return row; } }
return rows.ToList(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)