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
|