Simple one-liner (c#) to SET data in a table

Can’t really do it in one line unless you like really ugly code… but

Db.QuoteHed.Where( r =>r.Company == MyCompany && r.QuoteNum == QuoteToFind).FirstOrDefault()?.CustomField_c="larry";
Db.Validate();
2 Likes