Using Oracle® Data Provider for .NET to generate strongly typed datasets.
I could of course fill the entire table, but I would like to learn how to use the Where() extension with a delegate function that should limit number of collected rows based on certain table values.
Parameters for Where() extension:
(this IEnumerable<CUSTOMERRow> source, Func<CUSTOMERRow, bool> predicate)
The codesnippet where the delegate should be used:
StronglyTypedDataSet myDataSet = new StronglyTypedDataSet();
CUSTOMERTableAdapter tableAdapter = new CUSTOMERTableAdapter();
tableAdapter.Fill(myDataSet.CUSTOMER.Where(newfunctionhere));