Show / Hide Table of Contents

Interface IImplicitRemoveSupport

Adds support for doing implicit deletes with Entity Framework.

Namespace: IRM.Domain.Persistance
Assembly: IRM.dll
Syntax
public interface IImplicitRemoveSupport
Remarks

When removing an entity from a collection, Entity Framework just tries to set the foregin key to null, but what we normally want is to delete the entity from the database. This interface adds infrastrucutre support to actually delete the entity.

Properties

IsRemoved

Gets or sets if an entity is removed.

Declaration
bool IsRemoved { get; set; }
Property Value
Boolean

Extension Methods

ObjectExtensions.DeepClone<T>(T)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX