프로젝트에서 유창한 nHibernate를 사용하고 있습니다. 이제 유창한 nHibernate로 ms 속도를 적용하고, 유창한 nHibernate로 속도를 사용하는 사람이 있습니까? 그렇다면이 일을 시작하는 방법은 무엇입니까? Ms-Velocity with Fluent NHibernate
내가 이것에 대해 구글이 있지만 좋은 물건을 발견하지 않았다
..사람이 구성의 샘플을 가지고?
업데이트 :
Fluently.Configure()
.Database(MsSqlConfiguration.MsSql2008
.ConnectionString(c => c.FromConnectionStringWithKey("FNHConnection"))
)
.Cache(c=> c.UseQueryCache().ProviderClass((typeof(NHibernate.Caches.Velocity.VelocityProvider).AssemblyQualifiedName)))
.Mappings(m => m.FluentMappings.AddFromAssemblyOf<User>()).BuildConfiguration()
.BuildSessionFactory();
그러나이 예외가 점점 : 내가 한 유창함 구성
유형을로드 할 수 없습니다 'System.Data.Caching.CacheFactory'어셈블리에서 '를 ClientLibrary, 버전 = 1.0.0.0, 문화 = 중립, PublicKeyToken = 89845dcd8080cc91 '.
내가 뭘 잘못하고 있니?
감사
는 는