Exemplo n.º 1
0
 int ICmObjectOrIdInternal.GetHvo(IdentityMap map)
 {
     return(GetHvoUsing(map));
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 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)));
 }
Exemplo n.º 4
0
 /// <summary>
 /// The point of this subclass is to do this efficiently!
 /// </summary>
 protected override int GetHvoUsing(IdentityMap identityMap)
 {
     return(Hvo);
 }
Exemplo n.º 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;
 }