.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 Core 3.0+

EFObjectSpace.IsObjectDeletionOnRemoveEnabled(Object) Method

Indicates whether the deletion of persistent objects from the data source when they are removed from the specified collection is enabled.

Namespace: DevExpress.ExpressApp.EF

Assembly: DevExpress.ExpressApp.EF.v19.2.dll

Declaration

public override bool IsObjectDeletionOnRemoveEnabled(
    object collection
)
Public Overrides Function IsObjectDeletionOnRemoveEnabled(
    collection As Object
) As Boolean
public override bool IsObjectDeletionOnRemoveEnabled(
    object collection
)
Public Overrides Function IsObjectDeletionOnRemoveEnabled(
    collection As Object
) As Boolean

Parameters

Name Type Description
collection Object

A collection of persistent objects that are requested to be removed from the database along with their removal from the collection.

Parameters

Name Type Description
collection Object

A collection of persistent objects that are requested to be removed from the database along with their removal from the collection.

Returns

Type Description
Boolean

true, if deletion from the database along with removal from the collection is enabled; false, if disabled.

Returns

Type Description
Boolean

true, if deletion from the database along with removal from the collection is enabled; false, if disabled.

Remarks

If the collection specified as the collection parameter is not an EFCollection or its descendant, this property returns false.

See Also