XPObjectSpaceProviderOptions.ExcludePersistentTypes(Type[]) Method
Excludes the specified persistent classes from the list of available classes in 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 types. |
Remarks
Use the ExcludePersistentTypes
method to hide persistent classes from the ObjectSpace
created with the ObjectSpaceProvider
. All persistent classes registered in the application and its modules will be available in the ObjectSpace
, except for types listed in the types
parameter.
Do not call UseCustomPersistentTypes(Type[]) and ExcludePersistentTypes(Type[])
methods at the same time.
See Also