ReadOrWriteMetadata Delegate
Definition
Namespace: ASNA.DataGate.Providers
Assembly: ASNA.QSys.DataGate.Client.dll
Used by a metadata cache service to provide DataGate with a stream to read or write opaque metadata.
public delegate void ReadOrWriteMetadata(Stream metadataStream, bool forRead)
Parameters
Type | Parameter name | Description |
---|---|---|
Stream | metadataStream | A read- or write-only stream, depending on the value of forRead. |
Boolean | forRead | True if the stream contains metadata previously cached; false if DataGate should write database metadata to the stream for caching. |
Remarks
This delegate is typically consumed by an IMetadataCacheService implementation that coordinates reading and writing provider-specific metadata blobs to and from a storage medium.