NHibernateCouchbaseCacheSample.Models.BeerRepository.FindAll C# (CSharp) Méthode

FindAll() public méthode

public FindAll ( ) : IList
Résultat IList
        public IList<Beer> FindAll()
        {
            return FluentSession.GetCurrentSession().CreateCriteria<Beer>().SetCacheable(true).SetCacheMode(CacheMode.Normal).List<Beer>();
        }