예제 #1
0
 public PersistenceComplexEntityMemory(
     VersionPolicy <ComplexEntity> versionPolicy = null
     , ICacheManager <ComplexKey, ComplexEntity> cacheManager = null)
     : base(
         (k) => k.ToKey()
         , (s) => KeyMapper.Resolve <ComplexKey>().ToKey(s)
         , versionPolicy: versionPolicy
         //, referenceMaker: MondayMorningBluesHelper.ToReferences
         , cacheManager: cacheManager)
 {
 }