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.

    SecuredEFCoreObjectSpaceProvider<TDbContext>.CreateNonsecuredObjectSpace() Method

    Creates a SecuredEFCoreObjectSpace instance that an application uses when a user tries to log on.

    Namespace: DevExpress.EntityFrameworkCore.Security

    Assembly: DevExpress.EntityFrameworkCore.Security.v25.1.dll

    NuGet Package: DevExpress.ExpressApp.EFCore

    Declaration

    public IObjectSpace CreateNonsecuredObjectSpace()

    Returns

    Type Description
    IObjectSpace

    A SecuredEFCoreObjectSpace instance that an application uses when a user tries to log on.

    Remarks

    Note the following when you operate with a non-secured Object Space:

    • The non-secured Object Space ignores security permissions and provides access to all data. This means that the current user can modify data regardless of assigned roles.
    • If you need to interact with objects from the main (secured) and non-secured Object Spaces, use the GetObject(Object) method to copy the object from one Object Space to another.
    See Also