Regarding LINQ-to-SQL, see
http://blogs.msdn.com/dsyme/archive/2009/10/23/a-quick-refresh-on-query-support-in-the-f-power-pack.aspx
Regarding FirstOrDefault
, it's just an extension method in the System.Linq
namespace:
let l = [1;2;3]
open System.Linq
let r = l.FirstOrDefault()