Skip to main content
A newer version of this page is available.
All docs
V21.2
.NET Standard 2.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

SecuredEFCoreObjectSpaceProvider.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.v21.2.dll

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