Usage without a database

Jan 13, 2014 at 8:48 PM
Hi,

Would it be possible to reuse some of the functionality from this project without mapping to a database back-end? We have sensor data and metadata stored in an OPC server and would like to serve that over SOS. We are using a separate library to fetch data from the OPC server.

If possible, what functionality could be reused and what would we have to reimplement?
Coordinator
Jan 13, 2014 at 11:10 PM
As long as you can populate the entities, you might be able to use it.
Jan 14, 2014 at 8:17 AM
Please forgive my ignorance, as I am not familiar with Entity Framework and its usage.

How exactly would I populate the entities?

As far as I can understand from the solution, the entity classes are generated based on a database schema or similar, defined in the edmx file? Doesn't this mean the generated classes are tied to a database implementation?

Would I have to implement my own SosEntities class hierarchy that mimics the functionality of the auto-generated classes in the solution (Renci.Ogc.WebService.Sos.SosEntities etc), and instead calls to the OPC assembly for each query?