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();
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();