LINQ Code - InvoiceDtl

set what you want from the tttable as a parameter then use it in your condition in the original database table not the tt one