public static LeaseGuaranteeDTO CreateLeaseGuaranteeDTO(int guaranteeId, global::System.DateTime startDate, global::System.DateTime endDate, decimal amount, global::System.DateTime createDate, int status, int supplierId, int orderId, int currencyId) { LeaseGuaranteeDTO leaseGuaranteeDTO = new LeaseGuaranteeDTO(); leaseGuaranteeDTO.GuaranteeId = guaranteeId; leaseGuaranteeDTO.StartDate = startDate; leaseGuaranteeDTO.EndDate = endDate; leaseGuaranteeDTO.Amount = amount; leaseGuaranteeDTO.CreateDate = createDate; leaseGuaranteeDTO.Status = status; leaseGuaranteeDTO.SupplierId = supplierId; leaseGuaranteeDTO.OrderId = orderId; leaseGuaranteeDTO.CurrencyId = currencyId; return leaseGuaranteeDTO; }
public void AddToLeaseGuarantees(LeaseGuaranteeDTO leaseGuaranteeDTO) { base.AddObject("LeaseGuarantees", leaseGuaranteeDTO); }