I have this query in simple.data
var db = Database.Open();
IEnumerable<Guid> recetas = db.Factura
.All()
.Where(db.Factura.ObraSocialPlan_id == obraSocialPlanId)
.Select(db.Factura.Id)
.Cast<Guid>();
And I'm getting
Cannot implicitly convert type
'Simple.Data.SimpleRecord'
to'System.Guid'
How should I change the query?