Ejemplo n.º 1
0
        public void MapFromServerObject(Mercury.Server.Application.MemberCaseCarePlanGoal serverObject)
        {
            base.MapFromServerObject((Mercury.Server.Application.CarePlanGoal)serverObject);


            memberCaseCarePlanId = serverObject.MemberCaseCarePlanId;

            carePlanGoalId = serverObject.CarePlanGoalId;

            status = serverObject.Status;

            initialValue = serverObject.InitialValue;

            lastValue = serverObject.LastValue;

            targetValue = serverObject.TargetValue;

            interventions.Clear();

            foreach (Server.Application.MemberCaseCarePlanGoalIntervention currentServerCareIntervention in serverObject.GoalInterventions)
            {
                MemberCaseCarePlanGoalIntervention intervention = new MemberCaseCarePlanGoalIntervention(Application, currentServerCareIntervention);

                intervention.MemberCaseCarePlanGoal = this;

                interventions.Add(intervention);
            }


            return;
        }
        public Boolean IsEqual(MemberCaseCarePlanGoalIntervention compareObject)
        {
            Boolean isEqual = base.IsEqual((CoreObject)compareObject);



            return(isEqual);
        }
        public MemberCaseCarePlanGoalIntervention Copy()
        {
            Server.Application.MemberCaseCarePlanGoalIntervention serverObject = (Server.Application.MemberCaseCarePlanGoalIntervention)ToServerObject();

            MemberCaseCarePlanGoalIntervention copiedObject = new MemberCaseCarePlanGoalIntervention(application, serverObject);

            return(copiedObject);
        }