Class that offers static methods to read (binary) relation over entities into SparseBooleanMatrix objects. More...
Static Public Member Functions | |
| static SparseBooleanMatrix | Read (IDataReader reader, IEntityMapping mapping) |
| Read binary relation data from an IDataReader, e.g. a database via DbDataReader. | |
| static SparseBooleanMatrix | Read (StreamReader reader, IEntityMapping mapping) |
| Read binary relation data from file. | |
| static SparseBooleanMatrix | Read (string filename, IEntityMapping mapping) |
| Read binary attribute data from file. | |
Class that offers static methods to read (binary) relation over entities into SparseBooleanMatrix objects.
| static SparseBooleanMatrix Read | ( | IDataReader | reader, | |
| IEntityMapping | mapping | |||
| ) | [static] |
Read binary relation data from an IDataReader, e.g. a database via DbDataReader.
| reader | an IDataReader to be read from | |
| mapping | the mapping object for the given entity type |
| static SparseBooleanMatrix Read | ( | StreamReader | reader, | |
| IEntityMapping | mapping | |||
| ) | [static] |
Read binary relation data from file.
The expected (sparse) line format is: ENTITY_ID whitespace ENTITY_ID for the relations that hold.
| reader | a StreamReader to be read from | |
| mapping | the mapping object for the given entity type |
| static SparseBooleanMatrix Read | ( | string | filename, | |
| IEntityMapping | mapping | |||
| ) | [static] |
Read binary attribute data from file.
The expected (sparse) line format is: ENTITY_ID whitespace ENTITY_ID for the relations that hold.
| filename | the name of the file to be read from | |
| mapping | the mapping object for the given entity type |
1.6.3