public void AddToMaintainGuarantees(MaintainGuaranteeDTO maintainGuaranteeDTO) { base.AddObject("MaintainGuarantees", maintainGuaranteeDTO); }
public static MaintainGuaranteeDTO CreateMaintainGuaranteeDTO(int maintainContractId, int guaranteeId, global::System.DateTime startDate, global::System.DateTime endDate, decimal amount, global::System.DateTime createDate, int status, int supplierId, int currencyId) { MaintainGuaranteeDTO maintainGuaranteeDTO = new MaintainGuaranteeDTO(); maintainGuaranteeDTO.MaintainContractId = maintainContractId; maintainGuaranteeDTO.GuaranteeId = guaranteeId; maintainGuaranteeDTO.StartDate = startDate; maintainGuaranteeDTO.EndDate = endDate; maintainGuaranteeDTO.Amount = amount; maintainGuaranteeDTO.CreateDate = createDate; maintainGuaranteeDTO.Status = status; maintainGuaranteeDTO.SupplierId = supplierId; maintainGuaranteeDTO.CurrencyId = currencyId; return maintainGuaranteeDTO; }