Skip to main content
.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.

EFCoreObjectSpace Properties

An Object Space used for data manipulation in EF Core-based applications that do not use the Security System.
Name Description
AdditionalObjectSpaces Gets the list of Object Spaces used to handle objects that do not belong to the current Object Space. We recommend that you call the PopulateAdditionalObjectSpaces(XafApplication) method to populate this collection automatically. Inherited from CompositeObjectSpace.
AutoCommitAdditionalObjectSpaces Specifies whether the current Object Space’s CommitChanges() method forces additional Object Spaces to commit their changed objects. When this property is set to true, changes to objects that belong to additional Object Spaces mark the Object Space as modified. Inherited from CompositeObjectSpace.
AutoDisposeAdditionalObjectSpaces Specifies whether the current Object Space disposes of its inner Object Spaces from the AdditionalObjectSpaces collection when it disposes itself. Inherited from CompositeObjectSpace.
AutoRefreshAdditionalObjectSpaces Specifies whether the current Object Space refreshes its inner Object Spaces from the AdditionalObjectSpaces collection when it refreshes itself. Inherited from CompositeObjectSpace.
CanFilterByNonPersistentMembers For internal use.
Connection Gets an IDbConnection object used to connect to a data source.
Database Returns the name of a database that specified in the Object Space’s EFCoreObjectSpace.DbContext if connection to this database is established.
DbContext Returns the DbContext instance your application uses.
IsCommitting Indicates whether the Object Space is currently committing the changes made to its object(s). Inherited from BaseObjectSpace.
IsConnected For internal use.
IsDeleting Indicates whether the current Object Space is about to delete an object(s).
IsDisposed Gets a value indicating whether an Object Space has been disposed of. Inherited from BaseObjectSpace.
IsModified Specifies whether objects belonging to the current Object Space are modified.
IsReloading Gets a boolean value indicating whether or not the Object Space is reloading. Inherited from BaseObjectSpace.
LockingCheckEnabled Specifies whether or not the additional locking check is performed. Inherited from BaseObjectSpace.
ModifiedObjects Returns a collection of objects that are created, modified, or deleted but not committed to the database.
NonPersistentChangesEnabled Specifies whether the BaseObjectSpace is marked as modified (see BaseObjectSpace.IsModified) when a non-persistent property is changed. Inherited from BaseObjectSpace.
Owner Specifies the current Object Space’s root View or the root Object Space if the current Object Space is added to the AdditionalObjectSpaces collection. Inherited from BaseObjectSpace.
ServiceProvider Gets the IServiceProvider used to access the application’s services.
TypesInfo Gets information on the business classes added to the Application Model (see IModelBOModel). Inherited from BaseObjectSpace.
See Also