Skip to main content

XPDictionary.GetDataStoreSchema(IEnumerable<Assembly>) Method

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public DBTable[] GetDataStoreSchema(
    IEnumerable<Assembly> assemblies
)

Parameters

Name Type
assemblies IEnumerable<Assembly>

Returns

Type
DBTable[]

Remarks

The GetDataStoreSchema 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 GetDataStoreSchema method handles all exceptions and skips the problematic assembly without adding corresponding persistent classes to the dictionary.

See Also