Table of Contents

Class ReverseRelationshipStorage

Namespace
The.Persistence.Transient
Assembly
Instagile.dll
public sealed class ReverseRelationshipStorage : IRelationshipStorage
Inheritance
ReverseRelationshipStorage
Implements
Inherited Members

Constructors

ReverseRelationshipStorage(RelationshipStorage)

public ReverseRelationshipStorage(RelationshipStorage inner)

Parameters

inner RelationshipStorage

Properties

SourceKey

public string SourceKey { get; }

Property Value

string

TargetKey

public string TargetKey { get; }

Property Value

string

Methods

Add(Guid, Guid)

public void Add(Guid source, Guid target)

Parameters

source Guid
target Guid

All()

public IEnumerable<(Guid, Guid)> All()

Returns

IEnumerable<(Guid source, Guid target)>

ByID(Guid)

public IEnumerable<Guid> ByID(Guid id)

Parameters

id Guid

Returns

IEnumerable<Guid>

Clear()

public void Clear()

Remove(Guid, Guid)

public void Remove(Guid source, Guid target)

Parameters

source Guid
target Guid