Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    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

    public void UseCustomPersistentTypes(
        params Type[] types
    )

    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