Read Structure definitions stored in a database #1775
-
I was exploring a way to move out of file-based usage of profiles and thinking of an approach where I store the profiles into a Database and the IResourceResolver can read those like how it reads from a ZipSource or DirectorySource. Do we already have a set of APIs available in Firely SDK or can extend at our side so that we can configure the database connection, table, and fields and the ResourceResolver can read it directly from the database instead of a zip file or directory? The intention here is to remove the dependecy with folders/ file systems. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can indeed create your own implementation of |
Beta Was this translation helpful? Give feedback.
You can indeed create your own implementation of
IResourceResolver
. There are no helper methods in the SDK to read from databases. But there are enough DB APIs (EntityFramework, ADO.NET) to read from a database.