コード例 #1
0
        public virtual void MapToServerObject(Server.Application.MemberCaseProblemClass serverObject)
        {
            base.MapToServerObject((Server.Application.CoreExtensibleObject)serverObject);


            return;
        }
コード例 #2
0
        public MemberCaseProblemClass Copy()
        {
            Server.Application.MemberCaseProblemClass serverObject = (Server.Application.MemberCaseProblemClass)ToServerObject();

            MemberCaseProblemClass copiedObject = new MemberCaseProblemClass(application, serverObject);

            return(copiedObject);
        }
コード例 #3
0
        public override Object ToServerObject()
        {
            Server.Application.MemberCaseProblemClass serverObject = new Server.Application.MemberCaseProblemClass();

            MapToServerObject(serverObject);

            return(serverObject);
        }
コード例 #4
0
        public virtual void MapToServerObject(Server.Application.MemberCase serverObject)
        {
            base.MapToServerObject((Server.Application.CoreExtensibleObject)serverObject);


            serverObject.MemberId = memberId;

            serverObject.ReferenceNumber = referenceNumber;

            serverObject.Status = status;


            serverObject.AssignedToSecurityAuthorityId = AssignedToSecurityAuthorityId;

            serverObject.AssignedToUserAccountId = AssignedToUserAccountId;

            serverObject.AssignedToUserAccountName = AssignedToUserAccountName;

            serverObject.AssignedToUserDisplayName = AssignedToUserDisplayName;

            serverObject.AssignedToDate = AssignedToDate;


            serverObject.LockedBySecurityAuthorityId = LockedBySecurityAuthorityId;

            serverObject.LockedByUserAccountId = LockedByUserAccountId;

            serverObject.LockedByUserAccountName = LockedByUserAccountName;

            serverObject.LockedByUserDisplayName = LockedByUserDisplayName;

            serverObject.LockedByDate = LockedByDate;


            serverObject.EffectiveDate = effectiveDate;

            serverObject.TerminationDate = terminationDate;



            serverObject.CarePlans = new Server.Application.MemberCaseCarePlan[carePlans.Count];

            foreach (MemberCaseCarePlan currentCarePlan in carePlans)
            {
                Server.Application.MemberCaseCarePlan serverCarePlan = (Server.Application.MemberCaseCarePlan)currentCarePlan.ToServerObject();

                serverObject.CarePlans[carePlans.IndexOf(currentCarePlan)] = serverCarePlan;
            }


            serverObject.CareInterventions = new Server.Application.MemberCaseCareIntervention[careInterventions.Count];

            foreach (MemberCaseCareIntervention currentCareIntervention in careInterventions)
            {
                Server.Application.MemberCaseCareIntervention serverCareIntervention = (Server.Application.MemberCaseCareIntervention)currentCareIntervention.ToServerObject();

                serverObject.CareInterventions[careInterventions.IndexOf(currentCareIntervention)] = serverCareIntervention;
            }

            serverObject.ProblemClasses = new Server.Application.MemberCaseProblemClass[problemClasses.Count];

            foreach (MemberCaseProblemClass currentProblemClass in problemClasses)
            {
                Server.Application.MemberCaseProblemClass serverProblemClass = (Server.Application.MemberCaseProblemClass)currentProblemClass.ToServerObject();

                serverObject.ProblemClasses[problemClasses.IndexOf(currentProblemClass)] = serverProblemClass;
            }

            return;
        }