override public void MapDataFields(System.Data.DataRow currentRow) { base.MapDataFields(currentRow); populationId = (Int64)currentRow["PopulationId"]; eventType = (Mercury.Server.Core.Population.Enumerations.PopulationTriggerEventType)(Int32) currentRow ["TriggerEventType"]; serviceId = base.IdFromSql(currentRow, "ServiceId"); metricType = (Mercury.Server.Core.Metrics.Enumerations.MetricType)(Int32) currentRow ["MetricType"]; metricId = base.IdFromSql(currentRow, "MetricId"); metricMinimum = (Decimal)currentRow["MetricMinimum"]; metricMaximum = (Decimal)currentRow["MetricMaximum"]; authorizedServiceId = base.IdFromSql(currentRow, "AuthorizedServiceId"); problemStatementId = base.IdFromSql(currentRow, "ProblemStatementId"); action = new Mercury.Server.Core.Action.Action(base.application); action.MapDataFields(String.Empty, currentRow); return; }
override public void MapDataFields(System.Data.DataRow currentRow) { base.MapDataFields(currentRow); populationId = (Int64)currentRow["PopulationId"]; scheduleType = (Mercury.Server.Core.Population.Enumerations.PopulationActivityScheduleType)(Int32) currentRow["ScheduleType"]; scheduleValue = (Int32)currentRow["ScheduleValue"]; scheduleQualifier = (Mercury.Server.Core.Enumerations.DateQualifier)(Int32) currentRow["ScheduleQualifier"]; anchorDate = (Mercury.Server.Core.Population.Enumerations.PopulationActivityEventAnchorDate)(Int32) currentRow ["AnchorDate"]; Reoccurring = (Boolean)currentRow["IsReoccurring"]; performActionDateType = (Mercury.Server.Core.Population.Enumerations.PopulationActivityPerformActionDateType)(Int32) currentRow["PerformActionDateType"]; action = new Mercury.Server.Core.Action.Action(base.application); action.MapDataFields(String.Empty, currentRow); return; }
override public void MapDataFields(System.Data.DataRow currentRow) { base.MapDataFields(currentRow); populationServiceEventId = (Int64)currentRow["PopulationServiceEventId"]; populationId = (Int64)currentRow["PopulationId"]; relativeDateValue = (Int32)currentRow["RelativeDateValue"]; relativeDateQualifier = (Mercury.Server.Core.Enumerations.DateQualifier)(Int32) currentRow["RelativeDateQualifier"]; status = (Mercury.Server.Core.Population.Enumerations.PopulationServiceEventStatus)(Int32) currentRow["Status"]; action = new Mercury.Server.Core.Action.Action(base.application); action.MapDataFields(String.Empty, currentRow); return; }
override public void MapDataFields(System.Data.DataRow currentRow) { base.MapDataFields(currentRow); relativeDateValue = (Int32)currentRow["RelativeDateValue"]; relativeDateQualifier = (Mercury.Server.Core.Enumerations.DateQualifier)(Int32) currentRow["RelativeDateQualifier"]; status = (Enumerations.ActivityStatus)(Int32) currentRow["Status"]; if (!(currentRow["ActionId"] is DBNull)) { action = new Mercury.Server.Core.Action.Action(base.application); action.MapDataFields(String.Empty, currentRow); } return; }
override public void MapDataFields(System.Data.DataRow currentRow) { if (thresholdType == Mercury.Server.Core.Action.Enumerations.ActionThresholdType.NotSpecified) { throw new ApplicationException("Invalid Threshold Type Specified."); } base.MapDataFields(currentRow); id = (Int64)currentRow[thresholdType.ToString() + "ThresholdId"]; relativeDateValue = (Int32)currentRow["RelativeDateValue"]; relativeDateQualifier = (Mercury.Server.Core.Enumerations.DateQualifier)(Int32) currentRow["RelativeDateQualifier"]; status = (Enumerations.ActionThresholdStatus)(Int32) currentRow["Status"]; action = new Mercury.Server.Core.Action.Action(base.application); action.MapDataFields(String.Empty, currentRow); return; }