Example #1
0
        public List <NameValuePair> ToValuesList()
        {
            var toReturn = new List <NameValuePair>()
            {
                new NameValuePair()
                {
                    Name = Constants.FIELD_ENTITYID, Value = EntityId.Value
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_ID, Value = Id.Value
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_VMMC_DATEOFVISIT, Value = CoreActivityDate.ToString(CultureInfo.InvariantCulture)
                },
                new NameValuePair()
                {
                    Name  = Constants.FIELD_VMMC_MCDATE,
                    Value = MCDate.ToString(CultureInfo.InvariantCulture)
                },

                new NameValuePair()
                {
                    Name = Constants.FIELD_VMMC_CARD_SERIAL, Value = FormSerial.ToString()
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_VMMC_MCNUMBER, Value = MCNumber.ToString()
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_VMMC_CLIENTFIRSTNAME, Value = FirstName
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_VMMC_CLIENTLASTNAME, Value = LastName
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_PPX_CLIENTTEL, Value = ClientTel
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_VMMC_DOB, Value = DateOfBirth.ToString(CultureInfo.InvariantCulture)
                },
            };

            return(toReturn);
        }
Example #2
0
        public List <NameValuePair> ToValuesList()
        {
            var toReturn = new List <NameValuePair>()
            {
                new NameValuePair()
                {
                    Name = Constants.FIELD_ENTITYID, Value = EntityId.Value
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_ID, Value = Id.Value
                },
                new NameValuePair()
                {
                    Name  = Constants.FIELD_PPX_PLACEMENTDATE,
                    Value = PlacementDate.ToString(CultureInfo.InvariantCulture)
                },

                new NameValuePair()
                {
                    Name  = Constants.FIELD_PPX_DATEOFVISIT,
                    Value = CoreActivityDate.ToString(CultureInfo.InvariantCulture)
                },

                new NameValuePair()
                {
                    Name = Constants.FIELD_PPX_CARD_SERIAL, Value = FormSerial.ToString()
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_PPX_CLIENTNAME, Value = Names
                },
                //new NameValuePair() {Name=Constants.FIELD_CARD_SERIAL,Value = FormSerial.ToString() },
                new NameValuePair()
                {
                    Name = Constants.FIELD_PPX_CLIENTIDNUMBER, Value = ClientNumber.ToString()
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_PPX_CLIENTTEL, Value = Telephone
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_PPX_CLIENTPHYSICALADDR, Value = Address
                }
            };

            return(toReturn);
        }
        public List <NameValuePair> ToValuesList()
        {
            var toReturn = new List <NameValuePair>()
            {
                new NameValuePair()
                {
                    Name = Constants.FIELD_ENTITYID, Value = EntityId.Value
                },
                new NameValuePair()
                {
                    Name = Constants.FIELD_ID, Value = Id.Value
                },

                new NameValuePair()
                {
                    Name = Constants.FIELD_LSP_DATEOFVISIT, Value = CoreActivityDate.ToString(CultureInfo.InvariantCulture)
                },
                new NameValuePair()
                {
                    Name  = Constants.FIELD_LSP_BENEFICIARY,
                    Value = BeneficiaryName
                },
                new NameValuePair()
                {
                    Name  = Constants.FIELD_LSP_BENEFICIARYAGE,
                    Value = BeneficiaryAge
                },
                new NameValuePair()
                {
                    Name  = Constants.FIELD_LSP_GROUPNAME,
                    Value = NameofGroup
                },
                new NameValuePair()
                {
                    Name  = Constants.FIELD_LSP_VILLAGE,
                    Value = NameOfVillage
                },
                new NameValuePair()
                {
                    Name  = Constants.FIELD_LSP_BENEFICIARY_SEX,
                    Value = BeneficiarySex
                },
            };

            return(toReturn);
        }