예제 #1
0
 int ICmObjectOrIdInternal.GetHvo(IdentityMap map)
 {
     return(GetHvoUsing(map));
 }
예제 #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 internal MemoryOnlyBackendProvider(FdoCache cache, IdentityMap identityMap, ICmObjectSurrogateFactory surrogateFactory,
                                    IFwMetaDataCacheManagedInternal mdc, IDataMigrationManager dataMigrationManager, IFdoUI ui, IFdoDirectories dirs, FdoSettings settings)
     : base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager, ui, dirs, settings)
 {
 }
예제 #3
0
 // This is used only by the factory methods (on IdentifyMap) that create one.
 static internal ICmObjectId FromGuid(Guid guid, IdentityMap map)
 {
     return(map.GetCanonicalID(new CmObjectId(guid)));
 }
예제 #4
0
 /// <summary>
 /// The point of this subclass is to do this efficiently!
 /// </summary>
 protected override int GetHvoUsing(IdentityMap identityMap)
 {
     return(Hvo);
 }
예제 #5
0
 /// <summary>
 /// Constructor.
 /// </summary>
 internal MemoryOnlyBackendProvider(FdoCache cache, IdentityMap identityMap, ICmObjectSurrogateFactory surrogateFactory, IFwMetaDataCacheManagedInternal mdc, IDataMigrationManager dataMigrationManager)
     : base(cache, identityMap, surrogateFactory, mdc, dataMigrationManager)
 {
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 internal CmObjectSurrogateTypeHandler(FdoCache cache, IdentityMap identitymap)
 {
     m_cache       = cache;
     m_identitymap = identitymap;
 }
 public CmObjectSurrogateStreamDecompressor(byte[] compressedBytes, FdoCache cache, IdentityMap identitymap, Dictionary <ICmObjectId, long> mapid)
 {
     m_decompressor = new GZipStream(new MemoryStream(compressedBytes), CompressionMode.Decompress);
     m_cache        = cache;
     m_identityMap  = identitymap;
     m_mapId        = mapid;
 }