MscrmTools / MscrmTools.Xrm.Connection

Provides Winforms control to connect to Microsoft Dynamics CRM deployments
GNU Lesser General Public License v3.0
23 stars 38 forks source link

Load metadata cache in background #137

Closed MarkMpn closed 3 years ago

MarkMpn commented 3 years ago

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

MscrmTools commented 3 years ago

@MarkMpn Thank you! I just release beta4 version of the connection controls