Ejemplo n.º 1
0
        public IEnumerable <Saeaevents> SAEAEventsUpdate(AssaentrySAEAEventsUpdateRequestAPI AssaentrySAEAEventsUpdateRequestAPI)
        {
            var results = new List <Saeaevents>();

            var pdssaeaevents = new pdssaeaeventsDataSet();

            string cErrorMessage = string.Empty;

            foreach (var obj in AssaentrySAEAEventsUpdateRequestAPI.saeaevents)
            {
                DataRow ttblsaeaeventsRow = pdssaeaevents.ttblsaeaevents.NewttblsaeaeventsRow();
                Saeaevents.UpdateRowFromSaeaevents(ref ttblsaeaeventsRow, obj);
                pdssaeaevents.ttblsaeaevents.AddttblsaeaeventsRow((pdssaeaeventsDataSet.ttblsaeaeventsRow)ttblsaeaeventsRow);
            }

            var cActivateFl = AssaentrySAEAEventsUpdateRequestAPI.cActivateFl;


            NLogLoggerP.Trace("SAEAEventsUpdate - Assaentry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAssaentryproxy = this.proxyAppObject.CreatePO_assaentryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAssaentryproxy.SAEAEventsUpdate(ref pdsContext, cActivateFl, ref pdssaeaevents, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("SAEAEventsUpdate - Assaentry - After Call");


            this.ReportErrors(cErrorMessage);
            this.ReportErrors(this.pdsContext);
            this.ReportErrors(pdssaeaevents);

            foreach (DataRow row in pdssaeaevents.ttblsaeaevents)
            {
                results.Add(Saeaevents.BuildSaeaeventsFromRow(row));
            }
            return(results);
        }
Ejemplo n.º 2
0
 public IEnumerable <Saeaevents> SAEAEventsUpdate(AssaentrySAEAEventsUpdateRequestAPI AssaentrySAEAEventsUpdateRequestAPI)
 {
     return(this.adapter.SAEAEventsUpdate(AssaentrySAEAEventsUpdateRequestAPI));
 }
Ejemplo n.º 3
0
 public IEnumerable <Saeaevents> SAEAEventsUpdate(AssaentrySAEAEventsUpdateRequestAPI AssaentrySAEAEventsUpdateRequestAPI)
 {
     return(this.repository.SAEAEventsUpdate(AssaentrySAEAEventsUpdateRequestAPI));
 }