Class DeleteByIdStrategy<T>
Represents base strategy of entity deletion.
Inheritance
System.Object
DeleteByIdStrategy<T>
Implements
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 SourceDelete(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. |
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. |