Exemple #1
0
        protected void ObjectConstructor(Application application, Int64 forOwnerId, Enumerations.ActionThresholdType forThresholdType)
        {
            BaseConstructor(application);

            ownerObjectId = forOwnerId;

            thresholdType = forThresholdType;

            action = new Mercury.Server.Core.Action.Action(application);

            return;
        }
Exemple #2
0
        public ActionThreshold(Application application, Int64 forThresholdId, Int64 forOwnerId, Enumerations.ActionThresholdType forThresholdType)
        {
            ObjectConstructor(application, forOwnerId, forThresholdType);

            if (!Load(application, forThresholdId))
            {
                throw new ApplicationException("Unable to load Threshold from the database for " + forThresholdId.ToString() + ".");
            }

            return;
        }
Exemple #3
0
        public ActionThreshold(Application application, Int64 forOwnerId, Enumerations.ActionThresholdType forThresholdType)
        {
            ObjectConstructor(application, forOwnerId, forThresholdType);

            return;
        }