Metadata cache loading is now done in a background task so initial connection is not blocked.
Any errors thrown during metadata cache loading only affects the background task and does not prevent the connection from being used
While the metadata is being loaded the MetadataCache property will return null. A tool can wait on the task returned by the MetadataCacheLoader property or the UpdateMetadataCache(bool) method if it wants to wait until the cache is ready - examples are provided in the TestWinForm app
Metadata cache loading is now done in a background task so initial connection is not blocked.
Any errors thrown during metadata cache loading only affects the background task and does not prevent the connection from being used
While the metadata is being loaded the
MetadataCache
property will returnnull
. A tool can wait on the task returned by theMetadataCacheLoader
property or theUpdateMetadataCache(bool)
method if it wants to wait until the cache is ready - examples are provided in the TestWinForm app