Example #1
0
        public ConditionCriteriaDemographic Copy()
        {
            Server.Application.ConditionCriteriaDemographic serverConditionCriteria = (Server.Application.ConditionCriteriaDemographic)ToServerObject();

            ConditionCriteriaDemographic copiedConditionCriteria = new ConditionCriteriaDemographic(application, serverConditionCriteria);

            return(copiedConditionCriteria);
        }
Example #2
0
        public override Object ToServerObject()
        {
            Server.Application.ConditionCriteriaDemographic serverConditionCriteria = new Server.Application.ConditionCriteriaDemographic();

            MapToServerObject(serverConditionCriteria);

            return(serverConditionCriteria);
        }
Example #3
0
        public virtual void MapToServerObject(Server.Application.ConditionCriteriaDemographic serverConditionCriteria)
        {
            base.MapToServerObject((Server.Application.CoreObject)serverConditionCriteria);


            serverConditionCriteria.ConditionId = conditionId;

            serverConditionCriteria.Gender = gender;

            serverConditionCriteria.UseAgeCriteria = useAgeCriteria;

            serverConditionCriteria.AgeMinimum = ageMinimum;

            serverConditionCriteria.AgeMaximum = ageMaximum;

            serverConditionCriteria.EthnicityId = ethnicityId;


            return;
        }