public List <MatchCodeEntity> LoadMatchGradesEntities(string ddlMatchGrade, string ConnectionString)
        {
            SettingFacade fac = new SettingFacade(ConnectionString);

            switch (ddlMatchGrade)
            {
            case "Company":
                return(fac.GetMatchMDPCodes("Company"));

            case "StreetName":
                return(fac.GetMatchMDPCodes("StreetName"));

            case "StreetNo":
                return(fac.GetMatchMDPCodes("StreetNo"));

            case "City":
                return(fac.GetMatchMDPCodes("City"));

            case "State":
                return(fac.GetMatchMDPCodes("State"));;

            case "MailingAddress":
                return(fac.GetMatchMDPCodes("MailingAddress"));

            case "Phone":
                return(fac.GetMatchMDPCodes("Phone"));


            default:
                return(fac.GetMatchMDPCodes(""));
            }
        }
Exemplo n.º 2
0
        public List <MatchCodeEntity> LoadMatchGradesEntities(string ddlMatchGrade, string ConnectionString)
        {
            SettingFacade fac = new SettingFacade(ConnectionString);

            switch (ddlMatchGrade)
            {
            case "Company":
                return(fac.GetMatchMDPCodes("Company"));

            case "StreetName":
                return(fac.GetMatchMDPCodes("StreetName"));

            case "StreetNo":
                return(fac.GetMatchMDPCodes("StreetNo"));

            case "City":
                return(fac.GetMatchMDPCodes("City"));

            case "State":
                return(fac.GetMatchMDPCodes("State"));

            case "PoBox":
                return(fac.GetMatchMDPCodes("PoBox"));

            case "Phone":
                return(fac.GetMatchMDPCodes("Phone"));

            case "PostalCode":
                return(fac.GetMatchMDPCodes("PostalCode"));

            case "Density":
                return(fac.GetMatchMDPCodes("Density"));

            case "Uniqueness":
                return(fac.GetMatchMDPCodes("Uniqueness"));

            case "SIC":
                return(fac.GetMatchMDPCodes("SIC"));

            case "DUNS":
                return(fac.GetMatchMDPCodes("DUNS"));

            case "NationalID":
                return(fac.GetMatchMDPCodes("NationalID"));

            case "URL":
                return(fac.GetMatchMDPCodes("URL"));

            default:
                return(fac.GetMatchMDPCodes(""));
            }
        }