In comparison to IfcSql this implementation currently does not offer storing data collections (LIST
and SELECT
) in a type-save manner.
Types, that are not storable (typesave) in a flat table are stored as a string (at the moment) in the STEP-format.:
The IfcSqlite
class implements the reading and writing of the IFC schema to SQLite databases.
In order to use SQLite you need include the necessary binaries.
The easiest way to do so is via NuGet:
dotnet add package SQLite --version 3.13.0
Additionally you need to #define INCLUDE_SQLITE
as a constant in your project. Now you can use the SQLite input and output functionality like so:
ifc.Repository.CurrentModel.ToSqliteFile();