So how are Native Queries realized in practice?
Let's return to the Pilotnew class. Suppose we need to find all pilots with the name starting from "M" and points over 100. In a native OO language it would be expressed as:
c#:
pilot.Name.StartsWith("M")
&& pilot.Points > 100
c#:
delegate(Pilot pilot){
return pilot.Name.StartsWith("M")&& student.Points >
100;
}