public List <ABLOCKZONEDETAIL> loadAllBlockZoneDetail() { List <ABLOCKZONEDETAIL> blockZoneDetails = null; //using (DBConnection_EF con = new DBConnection_EF()) using (DBConnection_EF con = DBConnection_EF.GetUContext()) { blockZoneDetails = blockZoneDetaiDao.loadAll(con); } return(blockZoneDetails); }