BGRepo.I to get access to default database. The API list is not full.
Main API
| Method/Property | Returns | Description |
|---|---|---|
| I | BGRepo | Get access to database (static property) |
|
||
| this[string name] | BGMetaEntity | Get table by name |
|
||
| this[BGId id] | BGMetaEntity | Get table by id |
|
||
Additional API
| Method/Property | Returns | Description |
|---|---|---|
| ForEachMeta(Action<BGMetaEntity> action) | void | Execute action for each table |
|
||
| ForEachMeta(Action<BGMetaEntity> action, Predicate<BGMetaEntity> filter) | void | Execute action for each table, which comply to the filter |
|
||
| CountMeta | int | Number of tables |
|
||
| Addons.Get<T> | T | Get the addon of specified type |
|
||