Show / Hide Table of Contents

Class DeleteByIdStrategy<T>

Represents base strategy of entity deletion.

Inheritance
System.Object
DeleteByIdStrategy<T>
Implements
IDeleteByIdStrategy<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Strategies
Assembly: Relativity.Testing.Framework.dll
Syntax
public abstract class DeleteByIdStrategy<T> : IDeleteByIdStrategy<T>
Type Parameters
Name Description
T

The type of the entity.

Methods

| Improve this Doc View Source

Delete(Int32)

Deletes the entity by ID. After the deletion removes entity from the current session with specified ID.

Declaration
public void Delete(int id)
Parameters
Type Name Description
System.Int32 id

The artifact ID of the entity.

| Improve this Doc View Source

DoDelete(Int32)

Does delete the entity by ID.

Declaration
protected abstract void DoDelete(int id)
Parameters
Type Name Description
System.Int32 id

The artifact ID of the entity.

Implements

IDeleteByIdStrategy<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX