.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET 5.0+

EFObjectSpace Properties

An Object Space which is used for data manipulation via the Entity Framework.
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.
AllowUpdateSchema Indicates whether or not a schema update is allowed.
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 the connection to the underlying data source.
Database Gets the name of the database used when a connection associated with the current Object Space’s EFObjectSpace.ObjectContext is opened.
IsCommitting Indicates whether the Object Space is currently committing the changes made to its object(s). Inherited from BaseObjectSpace.
IsConnected Indicates whether the connection of the EFObjectSpace‘s Object Context is open.
IsDeleting Indicates whether the current Object Space is about to delete an object(s). Inherited from BaseObjectSpace.
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. Inherited from BaseObjectSpace.
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 have been created, modified or deleted in the current object context.
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.
TypesInfo Gets information on the business classes added to the Application Model (see IModelBOModel). Inherited from BaseObjectSpace.
See Also