Click or drag to resize

RepositorySourceGetRepositoryByEntityName Method

Gets the repository, which has the specified table as its primary table.

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public Repository GetRepositoryByEntityName(
	string entityName
)

Parameters

entityName
Type: SystemString
Name of the table.

Return Value

Type: Repository
The repository.
Exceptions
ExceptionCondition
KeyNotFoundExceptionWhen no repository is found.
See Also