Beispiel #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;
        }
Beispiel #2
0
        public MemberCaseCareIntervention(Application applicationReference, Mercury.Server.Application.MemberCaseCareIntervention serverObject)
        {
            BaseConstructor(applicationReference, serverObject);

            MapFromServerObject(serverObject);

            return;
        }