예제 #1
0
        public IQueryable <Country> GetAll()
        {
            CountryDAL           dalObject = new CountryDAL();
            IQueryable <Country> results   = dalObject.GetAll();

            return(results);
        }
예제 #2
0
        static public List <Country> GetAllBind()
        {
            DataTable      dt            = CountryDAL.GetAll();
            List <Country> CountriesList = GenericConvertDataTableToList.ConvertDataTable <Country>(dt);

            return(CountriesList);
        }
예제 #3
0
 public DataTable GetAll()
 {
     try
     {
         CountryDAL countryDAL = new CountryDAL();
         return(countryDAL.GetAll());
     }
     catch (Exception)
     {
         throw;
     }
 }
 public static DataTable GetAll()
 {
     return(CountryDAL.GetAll());
 }
예제 #5
0
 public IEnumerable <Country> GetAll()
 {
     return(_countryDal.GetAll());
 }