AttachmentRepo.Get Method

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

Overloads

Get(IEntity) Gets the Files attached to the specified entity.
Get(Int32) Gets the specified Attachment from the repository.
Get(Int32[]) Get the specified Attachments from the repository.

Get(IEntity)

Gets the Files attached to the specified entity.

public static IEnumerable Get(IEntity entity)

Parameters

entity
IEntity

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.Attachment}

Returns a list of objects.

Get(Int32)

Gets the specified Attachment from the repository.

public static Attachment Get(int id)

Parameters

id
System.Int32

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.Attachment}

Returns a object.

Get(Int32[])

Get the specified Attachments from the repository.

public static IEnumerable Get(int[] ids)

Parameters

ids
System.Int32[]

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.Attachment}

Returns a object.