klyn.data.xml.XMLRepository.open
method

    public static open(configuration as XMLConfiguration) as XMLRepository<T, TId>:

Description

Opens a lazy repository without retaining a file handle.

Parameters

Parameter | Description
--- | ---
`configuration` | XML document configuration.

Returns

Typed read-only repository.

Example

    users = XMLRepository<User, Int>.open(XMLConfiguration("users.xml"))