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


            memberCaseId = serverObject.MemberCaseId;

            careInterventionId = serverObject.CareInterventionId;

            status = serverObject.Status;


            activities = new List <MemberCaseCareInterventionActivity> ();

            foreach (Server.Application.MemberCaseCareInterventionActivity currentActivity in serverObject.CareInterventionActivities)
            {
                MemberCaseCareInterventionActivity activity = new MemberCaseCareInterventionActivity(application, currentActivity);

                activity.MemberCaseCareIntervention = this;

                activities.Add(activity);
            }



            return;
        }
Ejemplo n.º 2
0
        public MemberCaseCareIntervention(Application applicationReference, Mercury.Server.Application.MemberCaseCareIntervention serverObject)
        {
            BaseConstructor(applicationReference, serverObject);

            MapFromServerObject(serverObject);

            return;
        }