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.
我正在寻找一种在约定中设置.Cache().ReadWrite()-RelationsHasMany()的方法。我不使用自动映射。有人知道我该怎么做吗?
.Cache().ReadWrite()
HasMany()
使用 FNH 1.3 这是可能的
public class CacheConvention : IHasManyConvention { public void Apply(IOneToManyCollectionInstance instance) { instance.Cache.ReadWrite(); } }
不知道是什么时候引入的