日期:2014-05-17 浏览次数:20940 次
public static Td_Region SelectTd_RegionByRegionEname(string regionEname)
{
Td_Region info = null;//返回值
string sql = string.Format("SELECT * FROM Td_Region WHERE regionEname =\'{0}\'", regionEname);
IList<Td_Region> list = SelectTd_RegionsBySql(sql);
if (list.Count > 0)
{
info = list[0];
}
return info;
}
public static Td_Region SelectTd_RegionByRegionEname(string regionEname)
{
Td_Region info = null;//返回值
string sql = string.Format("SELECT * FROM Td_Region WHERE regionEname =\'{0}\'", regionEname);
IList<Td_Region> list = SelectTd_RegionsBySql(sql);
if (list.Count > 0)
{
info = list[0];
}
return info;
}
public static Td_Region SelectOneTd_RegionBySql(string sql)
{
Td_Region info = null;//返回值
IList<Td_Region> list = SelectTd_RegionsBySql(sql);
if (list.Count > 0)
{
info = list[0];
}
return info;
}
public static IList<Td_Region> SelectAllTd_Regions()
&nb