public virtual void Init() { if (identityAdapterMap == null) { identityAdapterMap = new IdentityAdapterHashMap(); } if (pocoAdapterMap == null) { pocoAdapterMap = new PocoAdapterHashMap(); } }
public IdentityMapImpl(IOidGenerator oidGenerator, IIdentityAdapterMap identityAdapterMap, IPocoAdapterMap pocoAdapterMap) { Assert.AssertNotNull(oidGenerator); Assert.AssertNotNull(identityAdapterMap); Assert.AssertNotNull(pocoAdapterMap); this.oidGenerator = oidGenerator; this.identityAdapterMap = identityAdapterMap; this.pocoAdapterMap = pocoAdapterMap; }
public void SetupMaps(IIdentityAdapterMap adapterMap, IPocoAdapterMap pocoMap) { identityAdapterMap = adapterMap; pocoAdapterMap = pocoMap; }
public CreateIfNullPocoAdapterDecorator(MemoryObjectStore objectStore, IPocoAdapterMap decorated) { this.objectStore = objectStore; this.decorated = decorated; }