Skip to main content
A newer version of this page is available.
.NET Framework 4.5.2+
  • 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.

EFObjectSpace Fields

An Object Space which is used for data manipulation via the Entity Framework.
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.
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.
UnableToOpenDatabaseErrorNumber An SqlException.Number value that indicates that an UnableToOpenDatabaseException occurs. By default, 4060.
See Also