ThreadSafeDataLayer.PrepareDataStore(IDataStore, XPDictionary, IEnumerable<Assembly>) Method
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type |
---|---|
dataStore | IDataStore |
dictionary | XPDictionary |
assemblies | IEnumerable<Assembly> |
Remarks
The PrepareDataStore method enumerates all the types available in the specified assemblies. Some types may reference other assemblies. If CLR cannot load a referenced assembly, it throws the FileNotFoundException
, FileLoadException
, or BadImageFormatException
. The PrepareDataStore method handles all exceptions and skips the problematic assembly without adding corresponding persistent classes to the dictionary.
See Also