Beispiel #1
0
 private bool IsShallowContract(Contract contract)
 {
     // return true if contract does not include child elements
     if (contract.LineItems == null && _context.HasLineItems(contract))
     {
         return(true);
     }
     if (contract.ProcurementID > 0 && contract.MethodOfProcurement == null)
     {
         return(true);
     }
     return(false);
 }