NHibernateCouchbaseCacheSample.Models.BeerRepository.FindAll C# (CSharp) 메소드

FindAll() 공개 메소드

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