NHibernate Criteria: howto exclude certain mapped properties/collections?
问题 Here's my (simplified) model: Ticket -> Customer Callback (s) I have my Ticket mapped so that when it's loaded, the Callbacks are as well. base.HasMany<TechSupportCallback>(x => x.Callbacks) .KeyColumn(Fields.TRACKED_ITEM_ID) .Not.LazyLoad() .Inverse() .Cache.ReadWrite(); This is not lazy loading because otherwise I'll get 'no session to load entities' when the web service tries to serialize (and load) the proxy. (Using repositories to fetch data.) It's also bi-directional .. (in the