EmbedRepo.Get Method

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

Overloads

Get(IEnumerable) Get the specified blobs.
Get(IHasEmbeds) Gets Embeds attached to the specified entity.
Get(int) Gets an Embed object from the repository.

Get(IEnumerable)

Get the specified blobs.

public static IEnumerable<Embed> Get(IEnumerable<int> ids)

Parameters

ids
System.Collections.Generic.IEnumerable

Returns

System.Collections.Generic.IEnumerable

Get(IHasEmbeds)

Gets Embeds attached to the specified entity.

public static IEnumerable<Embed> Get(IHasEmbeds entity)

Parameters

entity
IHasEmbeds

Returns

System.Collections.Generic.IEnumerable

Returns a list of Embed objects.

Get(int)

Gets an Embed object from the repository.

public static Embed Get(int id)

Parameters

id
int

Id of embed.

Returns

Embed

Returns an instance of the Embed class.