Use tuples containing the required key fields:
query {
for o in DataContext.OTable do
join k in DataContext.Catalogs on
((o.IDENT, o.VZ) = (k.IDENT, k.VZ))
select (o.IDENT, k.VZ)
}
Please note: you cannot create an anonymous type with named fields in F #, as in C #. Tuples are probably the closest and most idiomatic translation. See Tomas answer here .
source
share