Class that offers static methods to read (binary) relation over entities into IBooleanMatrix objects
More...
Class that offers static methods to read (binary) relation over entities into IBooleanMatrix objects
Read binary relations from file
The expected (sparse) line format is: ENTITY_ID space/tab/comma ENTITY_ID for the relations that hold.
- Parameters
-
filename | the name of the file to be read from |
mapping | the mapping object for the given entity type |
- Returns
- the relation data
Read binary relation data from file
The expected (sparse) line format is: ENTITY_ID space/tab/comma ENTITY_ID for the relations that hold.
- Parameters
-
reader | a StreamReader to be read from |
mapping | the mapping object for the given entity type |
- Returns
- the relation data
Read binary relation data from an IDataReader, e.g. a database via DbDataReader
- Parameters
-
reader | an IDataReader to be read from |
mapping | the mapping object for the given entity type |
- Returns
- the relation data
The documentation for this class was generated from the following file: