Click or drag to resize

RepositorySourceGetRepositoryByObjectTypeTObject Method

Returns the repository for the specified domain object type

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public Repository GetRepositoryByObjectType<TObject>()
where TObject : DomainObject

Type Parameters

TObject
The type of domain object for which to return the repository

Return Value

Type: Repository
The repository for the TObject type
See Also