ATMLDataAccessLibrary.db.daos.LookupTablesDAO.getCountryStates C# (CSharp) Method

getCountryStates() public method

public getCountryStates ( String countryCode ) : List
countryCode String
return List
        public List<dbState> getCountryStates(String countryCode)
        {
            var parameters = new OleDbParameter[] {new OleDbParameter(dbState._COUNTRY_CODE, countryCode)};
            return
                CreateList<dbState>(
                    BuildSqlSelect(dbState._TABLE_NAME, new String[] { ALL }, new String[] { dbState._COUNTRY_CODE }),
                    parameters);
        }