Returns all files bound to a particular parent id / entity type.

Namespace: MonoSoftware.MonoX.Repositories
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual EntityCollection<SnFileEntity> GetFiles(
	Guid parentId,
	int entityType
)
Visual Basic
Public Overridable Function GetFiles ( 
	parentId As Guid,
	entityType As Integer
) As EntityCollection(Of SnFileEntity)
Visual C++
public:
virtual EntityCollection<SnFileEntity^>^ GetFiles(
	Guid parentId, 
	int entityType
)
F#
abstract GetFiles : 
        parentId : Guid * 
        entityType : int -> EntityCollection<SnFileEntity> 
override GetFiles : 
        parentId : Guid * 
        entityType : int -> EntityCollection<SnFileEntity> 

Parameters

parentId
Type: System..::..Guid
Parent entity ID.
entityType
Type: System..::..Int32
Parent entity type.

Return Value

Type: EntityCollection<(Of <(<'SnFileEntity>)>)>
Collection of all file entities for parent entity identified by parent id and entity type.

Implements

IFileRepository..::..GetFiles(Guid, Int32)

See Also