Show/Hide Toolbars

TMS Aurelius Documentation

Retrieves a condition where the specified property (or projection) contains a null value.

 

Example - Return customers where Sex property is female, or Sex property is null.

 

Results := Manager.Find<TCustomer>
  .Where(
    (Linq['Sex'] = tsFemale) or Linq['Sex'].IsNull
  )
  .List;

 

Another way to write it:

 

Results := Manager.Find<TCustomer>
  .Where(
    Linq.Eq('Sex', tsFemale) or Linq.IsNull('Sex')
  )
  .List;