Table of Contents

Class RelationshipStorage

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

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)>

BySourceID(Guid)

public IEnumerable<Guid> BySourceID(Guid id)

Parameters

id Guid

Returns

IEnumerable<Guid>

ByTargetID(Guid)

public IEnumerable<Guid> ByTargetID(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