public BE.PaymentInfoAudit InsertPaymentInfoAudit(BE.PaymentInfoAudit entity) { //@@NEW - removed try/catch. insert returns DA entity (with new data). this method now returns an entity. DA.PaymentInfoAuditGateway gateway = new DA.PaymentInfoAuditGateway(); DA.PaymentInfoAudit result = gateway.Insert(entity.ToDataEntity()); return result.ToBusinessEntity(); }
public BE.PaymentInfoAudit GetPaymentInfoAuditByPaymentInfoAuditGuid(Guid paymentInfoAuditGuid) { DA.PaymentInfoAuditGateway gateway = new DA.PaymentInfoAuditGateway(); BE.PaymentInfoAudit result = new BE.PaymentInfoAudit(); result = gateway.GetByPK(paymentInfoAuditGuid).ToBusinessEntity(); return result; }
public List<BE.PaymentInfoAudit> GetPaymentInfoAuditsForPaymentInfoByPaymentInfoGuid(Guid paymentInfoGuid) { DA.PaymentInfoAuditGateway gateway = new DA.PaymentInfoAuditGateway(); List<BE.PaymentInfoAudit> result = new List<BE.PaymentInfoAudit>(); result = gateway.GetForPaymentInfoByPaymentInfoGuid(paymentInfoGuid).ToBusinessEntitiesList(); return result; }
public List<BE.PaymentInfoAudit> GetAllPaymentInfoAuditWithUndefined() { DA.PaymentInfoAuditGateway gateway = new DA.PaymentInfoAuditGateway(); List<BE.PaymentInfoAudit> result = new List<BE.PaymentInfoAudit>(); result = gateway.GetAllWithUndefined().ToBusinessEntitiesList(); return result; }