Skip to content

DmSoftDeleteAttribute ​

Namespace: MJCZone.DapperMatic.DataAnnotations

Assembly: MJCZone.DapperMatic

Summary ​

Marks the property that says a row is deleted: a <c>bool</c> (true when deleted) or a nullable <c>DateTime</c> or <c>DateTimeOffset</c> (when it was deleted). The DML methods' deletes then set it instead of removing the row, and every read leaves deleted rows out unless the query says <c>IncludeDeleted()</c> or <c>OnlyDeleted()</c>; <c>HardDeleteAsync</c> removes rows.

Inheritance ​

Base Class: Attribute

sealed public

Contents ​

Constructors (1) | Methods (6) | Properties (1)

Constructors ​

DmSoftDeleteAttribute ​

csharp
DmSoftDeleteAttribute()

Methods ​

MethodSummary
Equals
GetHashCode
Match
IsDefaultAttribute
GetType
ToString

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Match ​

csharp
Match()

IsDefaultAttribute ​

csharp
IsDefaultAttribute()

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Properties ​

TypeId ​

Type: object