public SendCorrespondenceRequest(Server.Core.Entity.Entity forEntity, Core.Entity.Entity forRelatedEntity, Int64 forCorrespondenceId, Boolean forAllowUserSelection) { base.userInteractionType = Mercury.Server.Workflows.UserInteractions.Enumerations.UserInteractionType.SendCorrespondence; entity = forEntity; relatedEntity = forRelatedEntity; correspondenceId = forCorrespondenceId; allowUserSelection = forAllowUserSelection; return; }
public ContactEntityRequest(Server.Core.Entity.Entity forEntity, Server.Core.Entity.Entity forRelatedEntity, String regardingMessage, String forIntroductionScript) { base.userInteractionType = Mercury.Server.Workflows.UserInteractions.Enumerations.UserInteractionType.ContactEntity; entity = forEntity; relatedEntity = forRelatedEntity; entityContactInformations = (forEntity != null) ? forEntity.ContactInformations : null; Regarding = regardingMessage; IntroductionScript = forIntroductionScript; base.Message = "Contact " + entity.EntityType.ToString() + " regarding: " + regardingMessage; return; }