XPObjectSpaceProviderOptions.UseCustomPersistentTypes(Type[]) Method
Specifies persistent classes available in the Object Space.
Namespace: DevExpress.ExpressApp.ApplicationBuilder
Assembly: DevExpress.ExpressApp.Xpo.v25.1.dll
NuGet Package: DevExpress.ExpressApp.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
types | Type[] | An array of persistent classes. |
Remarks
Use the UseCustomPersistentTypes
method to limit persistent classes available in the ObjectSpace
created with the ObjectSpaceProvider
. List available types in the types
parameter. Other (unlisted) persistent classes will not be available in the ObjectSpace
.
Do not call UseCustomPersistentTypes(Type[])
and ExcludePersistentTypes(Type[]) methods at the same time.
See Also