DRMFSS.BLL.DispatchDetail.GetAssociatedTransaction C# (CSharp) 메소드

GetAssociatedTransaction() 개인적인 메소드

Gets the associated transaction.
private GetAssociatedTransaction ( ) : Transaction
리턴 Transaction
        private Transaction GetAssociatedTransaction()
        {
            if (this.TransactionGroup != null)
                return this.TransactionGroup.Transactions.FirstOrDefault(p=>p.QuantityInMT > 0 || p.QuantityInUnit > 0);
            else
                return null;
        }