Skip to main content
All docs
V23.2
.NET 6.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.

EFCoreObjectSpace Fields

An Object Space used for data manipulation in EF Core-based applications that do not use the Security System.
Name Description
AutoCommitAdditionalObjectSpacesByDefault static Specifies whether an 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. This field affects all Object Spaces in your application if you do not specify the AutoCommitAdditionalObjectSpaces property for a particular Object Space. Inherited from CompositeObjectSpace.
AutoDisposeAdditionalObjectSpacesByDefault static Specifies whether Object Spaces dispose of their inner Object Spaces from the AdditionalObjectSpaces collection when they dispose of themselves. This field affects all Object Spaces in your application if you do not specify the AutoDisposeAdditionalObjectSpaces property for a particular Object Space. Inherited from CompositeObjectSpace.
AutoRefreshAdditionalObjectSpacesByDefault static Specifies whether Object Spaces refresh their inner Object Spaces from the AdditionalObjectSpaces collection when refreshing themselves. This field affects all Object Spaces in your application if you do not specify the AutoRefreshAdditionalObjectSpaces property for a particular Object Space. Inherited from CompositeObjectSpace.
CompositeKeyPropertyType static For internal use. Inherited from BaseObjectSpace.
createObjectSpaceForIFSourceFunc
SuppressAdditionalObjectSpaceOwnerCheck For internal use. Inherited from CompositeObjectSpace.
ThrowExceptionForNotRegisteredEntityType static Certain Object Space methods have the Type parameters. This static field indicates whether these methods throw the ArgumentException when a passed type is not registered in the Object Space Provider’s entity store. Set this field to true to diagnose issues related to the incorrect use of the Object Space type (for example, when a persistent Object Space is used to manipulate non-persistent objects). Inherited from BaseObjectSpace.
ThrowExceptionForNotRegisteredEntityTypeEFCore static
See Also