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.v24.1.dll
NuGet Package: DevExpress.ExpressApp.EFCore
Declaration
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.
Implements
See Also