ExternalLinkService.Get Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

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

Get(Guid)

Gets an ExternalLink.

public static ExternalLink Get(Guid id)

Parameters

id
System.Guid

Id of the ExternalLink.

Returns

ExternalLink

Returns an instance of the ExternalLink class or null if it does not exist.

Get(IEntity)

Gets all ExternalLinks for the specified IEntity.

public static IEnumerable<ExternalLink> Get(IEntity entity)

Parameters

entity
IEntity

Entity for which to get links.

Returns

System.Collections.Generic.IEnumerable

Returns an instance of the ExternalLink class or null if it does not exist.