Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
を使用して二次キャッシュを有効にできますQueryOptions。しかし、Castle ActiveRecord Linq でどのように有効にできるのでしょうか? ActiveRecordLinqクラスにはそのようなプロパティはありません。
QueryOptions
ActiveRecordLinq
QueryOptions は古い Linq プロバイダー (NH 3 以前) にのみ適用されたと思います。NH 3 では、 に電話する必要がCacheable()ありIQueryable<T>ます。ActiveRecord によって返される IQueryable に同じメソッドを適用できると確信しています。
Cacheable()
IQueryable<T>