public virtual void MapToServerObject(Server.Application.MemberCaseProblemClass serverObject) { base.MapToServerObject((Server.Application.CoreExtensibleObject)serverObject); return; }
public MemberCaseProblemClass Copy() { Server.Application.MemberCaseProblemClass serverObject = (Server.Application.MemberCaseProblemClass)ToServerObject(); MemberCaseProblemClass copiedObject = new MemberCaseProblemClass(application, serverObject); return(copiedObject); }
public override Object ToServerObject() { Server.Application.MemberCaseProblemClass serverObject = new Server.Application.MemberCaseProblemClass(); MapToServerObject(serverObject); return(serverObject); }
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; }