ExternalLinkRepo.Get Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

Overloads

Get(Guid) Gets an ExternalLink object from the repository.
Get(IEntity) Gets all ExternalLinks for the specified IEntity from the repository.

Get(Guid)

Gets an ExternalLink object from the repository.

public static ExternalLink Get(Guid id)

Parameters

id
System.Guid

Id of link.

Returns

ExternalLink

Returns an instance of the ExternalLink class.

Get(IEntity)

Gets all ExternalLinks for the specified IEntity from the repository.

public static IEnumerable<ExternalLink> Get(IEntity entity)

Parameters

entity
IEntity

Entity for whicg to get links.

Returns

System.Collections.Generic.IEnumerable

Returns an instance of the ExternalLink class.