SELECT * FROM X, into a C# list, Filter it with LINQ, and then use C# to do calculations
"Why not EF?" "Someone told me it was slower"