I am new one with Linq and I would like to modify my old c# code to use Linq. The idea of this code to select all tables where it\'s not set and reference’s field PrimaryTab
tables.AddRange(dbServer.Tables .Where(t => !t.IsSet) .SelectMany(t => table.References) .Where(r => r.PrimaryTable == "myTable"));