Beispiel #1
0
 public List <Region> GetCounty(int cityCode)
 {
     return(regionDao.SelectWhere(DictBuilder.GT("Code", cityCode).LT("Code", cityCode + 100).EQ("Level", 3)));
 }
Beispiel #2
0
 public List <Region> GetCity(int provinceCode)
 {
     return(regionDao.SelectWhere(DictBuilder.GT("Code", provinceCode).LT("Code", provinceCode + 10000).EQ("Level", 2)));
 }